diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-24 22:22:27 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-24 22:22:27 +0000 |
commit | 7ae8e04243646e3289cc73db68915e88382906f1 (patch) | |
tree | 9c2a4018ff4fe2683d4607ee8d91b893048b5dbe /sys/arch | |
parent | c84e7c0de21c781af0b658088b6df49a88ab7363 (diff) |
better segments
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/stand/libsa/gidt.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/libsa/gidt.S b/sys/arch/i386/stand/libsa/gidt.S index 3bec49fe492..35e03b91085 100644 --- a/sys/arch/i386/stand/libsa/gidt.S +++ b/sys/arch/i386/stand/libsa/gidt.S @@ -1,4 +1,4 @@ -/* $OpenBSD: gidt.S,v 1.17 1997/10/19 22:48:36 mickey Exp $ */ +/* $OpenBSD: gidt.S,v 1.18 1997/10/24 22:22:26 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -260,14 +260,14 @@ gdt: .word 0xFFFF # lolimit .word (LINKADDR & 0xffff) # lobase .byte (LINKADDR >> 16) & 0xff # midbase - .byte SDT_MEMERA | 0 | 0x80 # RXAC, dpl = 0, present + .byte SDT_MEMERAC | 0 | 0x80 # RXAC, dpl = 0, present .byte 0xf | 0 | 0 | 0 # hilimit, xx, 16bit, byte granularity .byte (LINKADDR >> 20) & 0xff # hibase /* 0x20 : 16 bit data */ .word 0xFFFF # lolimit .word (LINKADDR & 0xffff) # lobase .byte (LINKADDR >> 16) & 0xff # midbase - .byte SDT_MEMRWA | 0 | 0x80 # RXAC, dpl = 0, present + .byte SDT_MEMRWA | 0 | 0x80 # RWA, dpl = 0, present .byte 0xf | 0 | 0 | 0 # hilimit, xx, 16bit, byte granularity .byte (LINKADDR >> 20) & 0xff # hibase @@ -368,10 +368,10 @@ EMUh: .byte 0xb8 3: .long 0x90909090 /* restore %eax */ - sti + ;sti int $0 intno = . - 1 - cli + ;cli popl %ds |