diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-04-05 18:56:29 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-04-05 18:56:29 +0000 |
commit | c3434a52deeea17992db2aeb2f67aac615858469 (patch) | |
tree | eca63b219429fb380e4b8ffb232a02c8d02d11a6 /sys/arch/i386/stand/libsa/real_prot.S | |
parent | eb163fa3768eab110c936707c961febde79f570f (diff) |
put gdt & idt in the separate file.
print trapno in dump_regs.
no more NO_IDTR.
Diffstat (limited to 'sys/arch/i386/stand/libsa/real_prot.S')
-rw-r--r-- | sys/arch/i386/stand/libsa/real_prot.S | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/i386/stand/libsa/real_prot.S b/sys/arch/i386/stand/libsa/real_prot.S index ff7b4beaa6d..04737039640 100644 --- a/sys/arch/i386/stand/libsa/real_prot.S +++ b/sys/arch/i386/stand/libsa/real_prot.S @@ -1,4 +1,4 @@ -/* $OpenBSD: real_prot.S,v 1.3 1997/03/31 23:06:31 mickey Exp $ */ +/* $OpenBSD: real_prot.S,v 1.4 1997/04/05 18:56:28 mickey Exp $ */ /* * Mach Operating System @@ -63,10 +63,8 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .globl _codeseg .globl _Gdtr -#ifndef NO_IDTR .globl _Idtr_prot .globl _Idtr_real -#endif .text @@ -109,10 +107,8 @@ ENTRY(real_to_prot) movl %ax, %fs movl %ax, %gs -#ifndef NO_IDTR /* load idtr so we can debug */ lidt _Idtr_prot -#endif ret /* @@ -149,12 +145,11 @@ ENTRY(prot_to_real) movl %ax, %es movl %ax, %fs movl %ax, %gs -#ifndef NO_IDTR /* load idtr so we can debug */ addr32 data32 lidt _Idtr_real -#endif + sti data32 ret |