diff options
author | bde <bde@FreeBSD.org> | 1998-09-29 09:06:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-09-29 09:06:00 +0000 |
commit | dc111a9a45b6729445db9b8caa530ca6c1406d62 (patch) | |
tree | 24949ca2ab716e9081dc106047d497089f5986aa /sys/i386/include/vm86.h | |
parent | fd94b4c9202cb4f8b7cc274794e7945b65d067ae (diff) | |
download | FreeBSD-src-dc111a9a45b6729445db9b8caa530ca6c1406d62.zip FreeBSD-src-dc111a9a45b6729445db9b8caa530ca6c1406d62.tar.gz |
Don't pretend to support ix86's with 16-bit ints by using longs just
to ensure 32-bit variables. Doing so broke ix86's with 64-bit longs.
Diffstat (limited to 'sys/i386/include/vm86.h')
-rw-r--r-- | sys/i386/include/vm86.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/vm86.h b/sys/i386/include/vm86.h index b4f8f47..c7fb23e 100644 --- a/sys/i386/include/vm86.h +++ b/sys/i386/include/vm86.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: vm86.h,v 1.6 1998/06/08 09:47:35 bde Exp $ + * $Id: vm86.h,v 1.7 1998/07/14 17:13:23 msmith Exp $ */ #ifndef _MACHINE_VM86_H_ @@ -34,7 +34,7 @@ /* standard register representation */ typedef union { - u_long r_ex; + u_int r_ex; struct { u_short r_x; u_int :16; @@ -103,7 +103,7 @@ struct vm86frame { struct vm86_kernel { caddr_t vm86_intmap; /* interrupt map */ - u_long vm86_eflags; /* emulated flags */ + u_int vm86_eflags; /* emulated flags */ int vm86_has_vme; /* VME support */ int vm86_inited; /* we were initialized */ int vm86_debug; |