aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/globaldata.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-08-25 02:20:02 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-08-25 02:20:02 +0000
commit268bdb43f9aa6eeebd44934b5ea7b5fb3dd452c9 (patch)
tree507801bec2b11b2c70916032367a1906891044d6 /sys/i386/include/globaldata.h
parent61af19916888ce1a889585da3e41703716013aa1 (diff)
Optionize UPAGES for the i386. As part of this I split some of the low
level implementation stuff out of machine/globaldata.h to avoid exposing UPAGES to lots more places. The end result is that we can double the kernel stack size with 'options UPAGES=4' etc. This is mainly being done for the benefit of a MFC to RELENG_4 at some point. -current doesn't really need this so much since each interrupt runs on its own kstack.
Notes
Notes: svn path=/head/; revision=82309
Diffstat (limited to 'sys/i386/include/globaldata.h')
-rw-r--r--sys/i386/include/globaldata.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h
index cda7b1e172e2..37388aa69349 100644
--- a/sys/i386/include/globaldata.h
+++ b/sys/i386/include/globaldata.h
@@ -74,26 +74,6 @@ struct globaldata {
#endif
};
-#ifdef SMP
-/*
- * This is the upper (0xff800000) address space layout that is per-cpu.
- * It is setup in locore.s and pmap.c for the BSP and in mp_machdep.c for
- * each AP. genassym helps export this to the assembler code.
- */
-struct privatespace {
- /* page 0 - data page */
- struct globaldata globaldata;
- char __filler0[PAGE_SIZE - sizeof(struct globaldata)];
-
- /* page 1 - idle stack (UPAGES pages) */
- char idlestack[UPAGES * PAGE_SIZE];
- /* page 1+UPAGES... */
-};
-
-extern struct privatespace SMP_prvspace[];
-
-#endif
-
#endif /* _KERNEL */
#endif /* ! _MACHINE_GLOBALDATA_H_ */