summaryrefslogtreecommitdiff
path: root/sys/arch/i386/boot/asm.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/boot/asm.S')
-rw-r--r--sys/arch/i386/boot/asm.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/boot/asm.S b/sys/arch/i386/boot/asm.S
index 5d9f708eef5..b1a80fa59f9 100644
--- a/sys/arch/i386/boot/asm.S
+++ b/sys/arch/i386/boot/asm.S
@@ -52,11 +52,12 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <machine/asm.h>
+#define _LOCORE
+#include <machine/specialreg.h>
+#undef _LOCORE
#define addr32 .byte 0x67
#define data32 .byte 0x66
-CR0_PE = 0x1
-
.data
.globl _ourseg
_ourseg: