sync from FreeBSD-5.x. No operational changes. Get rid of a .byte macro
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 7 Nov 2003 17:59:23 +0000 (17:59 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 7 Nov 2003 17:59:23 +0000 (17:59 +0000)
and replace with the proper instruction extension.

sys/i386/i386/bioscall.s
sys/platform/pc32/i386/bioscall.s

index 96266c1..ee6dfb4 100644 (file)
@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/i386/i386/bioscall.s,v 1.6.2.1 2000/07/07 00:38:46 obrien Exp $
- * $DragonFly: src/sys/i386/i386/Attic/bioscall.s,v 1.3 2003/07/01 20:30:40 dillon Exp $
+ * $DragonFly: src/sys/i386/i386/Attic/bioscall.s,v 1.4 2003/11/07 17:59:23 dillon Exp $
  */
 
 /*
@@ -35,8 +35,6 @@
 
 #include "assym.s"
 
-#define data16         .byte   0x66
-
        .data
        ALIGN_DATA
 bioscall_frame:                .long   0
@@ -130,8 +128,7 @@ ENTRY(bios16_call)
        lret                            /* ...continue below */
        .globl  CNAME(bios16_jmp)
 CNAME(bios16_jmp):
-       data16
-       lcall   *bioscall_vector        /* 16-bit call */
+       lcallw  *bioscall_vector        /* 16-bit call */
 
        jc      1f
        pushl   $0                      /* success */
index eaa0b7f..19dd61e 100644 (file)
@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/i386/i386/bioscall.s,v 1.6.2.1 2000/07/07 00:38:46 obrien Exp $
- * $DragonFly: src/sys/platform/pc32/i386/bioscall.s,v 1.3 2003/07/01 20:30:40 dillon Exp $
+ * $DragonFly: src/sys/platform/pc32/i386/bioscall.s,v 1.4 2003/11/07 17:59:23 dillon Exp $
  */
 
 /*
@@ -35,8 +35,6 @@
 
 #include "assym.s"
 
-#define data16         .byte   0x66
-
        .data
        ALIGN_DATA
 bioscall_frame:                .long   0
@@ -130,8 +128,7 @@ ENTRY(bios16_call)
        lret                            /* ...continue below */
        .globl  CNAME(bios16_jmp)
 CNAME(bios16_jmp):
-       data16
-       lcall   *bioscall_vector        /* 16-bit call */
+       lcallw  *bioscall_vector        /* 16-bit call */
 
        jc      1f
        pushl   $0                      /* success */