aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/sparc64/trap.c
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2002-03-07 06:01:40 +0000
committerJake Burkholder <jake@FreeBSD.org>2002-03-07 06:01:40 +0000
commit4f91e3efb26ad0075875b308eed12fc969bd5ff9 (patch)
tree0cc51dbe6026e583140183b9b44554c405488cd0 /sys/sparc64/sparc64/trap.c
parent39028e83967df38e37c0facd6d060c493220f4d1 (diff)
downloadsrc-4f91e3efb26ad0075875b308eed12fc969bd5ff9.tar.gz
src-4f91e3efb26ad0075875b308eed12fc969bd5ff9.zip
Implement delivery of tlb shootdown ipis. This is currently more fine grained
than the other implementations; we have complete control over the tlb, so we only demap specific pages. We take advantage of the ranged tlb flush api to send one ipi for a range of pages, and due to the pm_active optimization we rarely send ipis for demaps from user pmaps. Remove now unused routines to load the tlb; this is only done once outside of the tlb fault handlers. Minor cleanups to the smp startup code. This boots multi user with both cpus active on a dual ultra 60 and on a dual ultra 2.
Notes
Notes: svn path=/head/; revision=91783
Diffstat (limited to 'sys/sparc64/sparc64/trap.c')
-rw-r--r--sys/sparc64/sparc64/trap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c
index 466f3daea7d9..481cdab7692f 100644
--- a/sys/sparc64/sparc64/trap.c
+++ b/sys/sparc64/sparc64/trap.c
@@ -52,6 +52,7 @@
#include <sys/systm.h>
#include <sys/pioctl.h>
#include <sys/proc.h>
+#include <sys/smp.h>
#include <sys/syscall.h>
#include <sys/sysent.h>
#include <sys/user.h>
@@ -71,6 +72,7 @@
#include <machine/intr_machdep.h>
#include <machine/pcb.h>
#include <machine/pv.h>
+#include <machine/smp.h>
#include <machine/trap.h>
#include <machine/tstate.h>
#include <machine/tte.h>