summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/asnames.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-06-22 16:04:22 +0000
committerpeter <peter@FreeBSD.org>1997-06-22 16:04:22 +0000
commit2dc5ff96e76a38f1a5ffd4c22e350c882f7592eb (patch)
tree281c7f0e4899a210947f7dfa14231536350272d2 /sys/i386/include/asnames.h
parente0245a10b266a1abf80916d730d18966653de374 (diff)
downloadFreeBSD-src-2dc5ff96e76a38f1a5ffd4c22e350c882f7592eb.zip
FreeBSD-src-2dc5ff96e76a38f1a5ffd4c22e350c882f7592eb.tar.gz
Preliminary support for per-cpu data pages.
This eliminates a lot of #ifdef SMP type code. Things like _curproc reside in a data page that is unique on each cpu, eliminating the expensive macros like: #define curproc (SMPcurproc[cpunumber()]) There are some unresolved bootstrap and address space sharing issues at present, but Steve is waiting on this for other work. There is still some strictly temporary code present that isn't exactly pretty. This is part of a larger change that has run into some bumps, this part is standalone so it should be safe. The temporary code goes away when the full idle cpu support is finished. Reviewed by: fsmp, dyson
Diffstat (limited to 'sys/i386/include/asnames.h')
-rw-r--r--sys/i386/include/asnames.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/i386/include/asnames.h b/sys/i386/include/asnames.h
index 5599a12..0059932 100644
--- a/sys/i386/include/asnames.h
+++ b/sys/i386/include/asnames.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: asnames.h,v 1.2 1997/05/21 22:56:59 jdp Exp $
+ * $Id: asnames.h,v 1.3 1997/05/25 16:58:03 fsmp Exp $
*/
#ifndef _MACHINE_ASNAMES_H_
@@ -64,11 +64,6 @@
#define _PTD PTD
#define _PTDpde PTDpde
#define _PTmap PTmap
-#define _SMPcommon_tss_ptr SMPcommon_tss_ptr
-#define _SMPcurpcb SMPcurpcb
-#define _SMPcurproc SMPcurproc
-#define _SMPnpxproc SMPnpxproc
-#define _SMPruntime SMPruntime
#define _Xalign Xalign
#define _Xbnd Xbnd
#define _Xbpt Xbpt
@@ -172,6 +167,7 @@
#define _bootDataSeg bootDataSeg
#define _bootMP bootMP
#define _bootMP_size bootMP_size
+#define _bootPTD bootPTD
#define _bootdev bootdev
#define _boothowto boothowto
#define _bootinfo bootinfo
@@ -183,6 +179,8 @@
#define _copyout_vector copyout_vector
#define _cpl cpl
#define _cpu cpu
+#define _cpu0prvpage cpu0prvpage
+#define _cpu0prvpt cpu0prvpt
#define _cpu_apic_versions cpu_apic_versions
#define _cpu_class cpu_class
#define _cpu_feature cpu_feature
@@ -224,7 +222,6 @@
#define _intr_unit intr_unit
#define _intrcnt intrcnt
#define _intrnames intrnames
-#define _io_apic_base io_apic_base
#define _ipending ipending
#define _ivectors ivectors
#define _kernelname kernelname
OpenPOWER on IntegriCloud