diff options
author | peter <peter@FreeBSD.org> | 2000-01-29 13:51:17 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-29 13:51:17 +0000 |
commit | 9baed61100deb3348d58b0ae491f730150f86a4b (patch) | |
tree | 1f1bb3fa1d8504ecf5827e06011499b18dc119f3 /sys | |
parent | ac9d6cb3b433941fdf04ea203953ff89671aba48 (diff) | |
download | FreeBSD-src-9baed61100deb3348d58b0ae491f730150f86a4b.zip FreeBSD-src-9baed61100deb3348d58b0ae491f730150f86a4b.tar.gz |
Remove a workaround for a gas bug. It couldn't assemble a certain
lgdt instruction, but the binutils based one is fine and has been
for ages.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/mpboot.S | 4 | ||||
-rw-r--r-- | sys/i386/i386/mpboot.s | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/amd64/amd64/mpboot.S b/sys/amd64/amd64/mpboot.S index d21354e..e3e11f0 100644 --- a/sys/amd64/amd64/mpboot.S +++ b/sys/amd64/amd64/mpboot.S @@ -193,9 +193,7 @@ NON_GPROF_ENTRY(bootMP) /* 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 diff --git a/sys/i386/i386/mpboot.s b/sys/i386/i386/mpboot.s index d21354e..e3e11f0 100644 --- a/sys/i386/i386/mpboot.s +++ b/sys/i386/i386/mpboot.s @@ -193,9 +193,7 @@ NON_GPROF_ENTRY(bootMP) /* 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 |