summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/md_var.h
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2002-02-14 01:39:11 +0000
committerbenno <benno@FreeBSD.org>2002-02-14 01:39:11 +0000
commit8c67ca76f79f837ceff85f7b9beb68cb784aaadd (patch)
treeea22ffca9020aeeb7d70a0afc75a11a1200af23b /sys/powerpc/include/md_var.h
parentc745bc3937461deb0149ef098ea50897e1e5c0a1 (diff)
downloadFreeBSD-src-8c67ca76f79f837ceff85f7b9beb68cb784aaadd.zip
FreeBSD-src-8c67ca76f79f837ceff85f7b9beb68cb784aaadd.tar.gz
Complete rework of the PowerPC pmap and a number of other bits in the early
boot sequence. The new pmap.c is based on NetBSD's newer pmap.c (for the mpc6xx processors) which is 70% faster than the older code that the original pmap.c was based on. It has also been based on the framework established by jake's initial sparc64 pmap.c. There is no change to how far the kernel gets (it makes it to the mountroot prompt in psim) but the new pmap code is a lot cleaner. Obtained from: NetBSD (pmap code)
Diffstat (limited to 'sys/powerpc/include/md_var.h')
-rw-r--r--sys/powerpc/include/md_var.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/md_var.h b/sys/powerpc/include/md_var.h
index 6aeb26c..75640e4 100644
--- a/sys/powerpc/include/md_var.h
+++ b/sys/powerpc/include/md_var.h
@@ -39,6 +39,9 @@ extern int szsigcode;
extern int Maxmem;
extern int busdma_swi_pending;
+extern vm_offset_t kstack0;
+extern vm_offset_t kstack0_phys;
+
struct fpreg;
struct proc;
struct reg;
OpenPOWER on IntegriCloud