summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/mpboot.s11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/i386/i386/mpboot.s b/sys/i386/i386/mpboot.s
index 9eb2d7c..ac24c66 100644
--- a/sys/i386/i386/mpboot.s
+++ b/sys/i386/i386/mpboot.s
@@ -156,9 +156,6 @@ NON_GPROF_ENTRY(wait_ap)
* 1Meg. -jackv
*/
-#define data32 .byte 0x66
-#define addr32 .byte 0x67
-
.data
ALIGN_DATA /* just to be sure */
@@ -186,17 +183,11 @@ NON_GPROF_ENTRY(bootMP)
mov $(boot_stk-_bootMP), %esp
/* Now load the global descriptor table */
- addr32
- data32
- /* XXX: sigh: lgdt MP_GDTptr-_bootMP GAS BUG! */
- .byte 0x0f, 0x01, 0x15 /* XXX hand assemble! */
- .long MP_GDTptr-_bootMP /* XXX hand assemble! */
+ lgdt MP_GDTptr-_bootMP
/* Enable protected mode */
- data32
movl %cr0, %eax
orl $CR0_PE, %eax
- data32
movl %eax, %cr0
/*
OpenPOWER on IntegriCloud