diff --git a/sys/arch/i386/stand/lib/biosmemx.S b/sys/arch/i386/stand/lib/biosmemx.S index 23d58fdc3f34..e14562b9b18f 100644 --- a/sys/arch/i386/stand/lib/biosmemx.S +++ b/sys/arch/i386/stand/lib/biosmemx.S @@ -1,4 +1,4 @@ -/* $NetBSD: biosmemx.S,v 1.4 2003/02/05 21:48:53 dsl Exp $ */ +/* $NetBSD: biosmemx.S,v 1.5 2003/02/14 14:39:24 dsl Exp $ */ /* * Copyright (c) 1997, 1999 @@ -34,8 +34,6 @@ #include -#define data32 .byte 0x66 - .text /* int getextmem2(int buffer[2]) @@ -112,7 +110,7 @@ ENTRY(getmementry) shrl $4, %edi mov %ds, %ax add %di, %ax - mov %ax, %ds + mov %ax, %es pop %di and $0xf, %di