diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-02-25 12:28:25 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-02-25 12:28:25 +0000 |
commit | 3a15c0a0446842cb4beeae872345aa5feeb9b1ff (patch) | |
tree | aa75b1ae45a066967d74ce67a12d20f164094dc0 /sys/arch/i386/stand | |
parent | fda939315c0ac564f620dd6f576475ce14e448b2 (diff) |
32bit careness
Diffstat (limited to 'sys/arch/i386/stand')
-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 76b3f62b518..a3413390ce3 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.19 1998/02/24 22:06:52 weingart Exp $ */ +/* $OpenBSD: gidt.S,v 1.20 1998/02/25 12:28:24 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -422,13 +422,13 @@ ENTRY(bootbuf) popl %eax /* Don't need return address */ popl %esi /* Buffer */ popl %edx /* Device */ - prot2real /* Switch */ + prot2real /* Switch */ /* Set up stack */ cli - xorl %eax, %eax - pushl %ax - popl %ss + xorl %ax, %ax + movl %ax, %ss + data32 movl $0xfffc, %esp sti |