summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-17 13:10:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-17 13:10:10 +0000
commit6d3ed1b0b686c6e667b17a50a856ad0cb704d290 (patch)
tree77bb15752ca417345aca9dcde5f0a412ceed6c87 /sys/arch/i386/stand
parent666980fc9be363bb5d0c737d01630384f206667e (diff)
genassym changes
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/libsa/gidt.S22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/i386/stand/libsa/gidt.S b/sys/arch/i386/stand/libsa/gidt.S
index 7ba32aec78a..6faa27cfb73 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.23 1998/09/25 06:48:52 mickey Exp $ */
+/* $OpenBSD: gidt.S,v 1.24 2001/09/17 13:10:09 deraadt Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -364,10 +364,10 @@ EMUh:
pushl %ds
addr32
- movl _C_LABEL(BIOS_regs)+(biosr_es), %eax
+ movl _C_LABEL(BIOS_regs)+(BIOSR_ES), %eax
movl %ax, %es
addr32
- movl _C_LABEL(BIOS_regs)+(biosr_ds), %eax
+ movl _C_LABEL(BIOS_regs)+(BIOSR_DS), %eax
movl %ax, %ds
data32
@@ -384,10 +384,10 @@ intno = . - 1
addr32
data32
- movl %ebx, _C_LABEL(BIOS_regs)+(biosr_bx)
+ movl %ebx, _C_LABEL(BIOS_regs)+(BIOSR_BX)
movl %es, %bx
addr32
- movl %bx, _C_LABEL(BIOS_regs)+(biosr_es)
+ movl %bx, _C_LABEL(BIOS_regs)+(BIOSR_ES)
movb %ah, %bh /* save flags to return to caller */
lahf
xchgb %ah, %bh
@@ -417,12 +417,12 @@ intno = . - 1
popf
/* save registers into save area */
- movl %eax, _C_LABEL(BIOS_regs)+biosr_ax
- movl %ecx, _C_LABEL(BIOS_regs)+biosr_cx
- movl %edx, _C_LABEL(BIOS_regs)+biosr_dx
- movl %ebp, _C_LABEL(BIOS_regs)+biosr_bp
- movl %esi, _C_LABEL(BIOS_regs)+biosr_si
- movl %edi, _C_LABEL(BIOS_regs)+biosr_di
+ movl %eax, _C_LABEL(BIOS_regs)+BIOSR_AX
+ movl %ecx, _C_LABEL(BIOS_regs)+BIOSR_CX
+ movl %edx, _C_LABEL(BIOS_regs)+BIOSR_DX
+ movl %ebp, _C_LABEL(BIOS_regs)+BIOSR_BP
+ movl %esi, _C_LABEL(BIOS_regs)+BIOSR_SI
+ movl %edi, _C_LABEL(BIOS_regs)+BIOSR_DI
popl %gs
popl %fs