diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-07 14:28:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-07 14:28:53 +0000 |
commit | 4349af21eb736535634294f29b3e992e01e281da (patch) | |
tree | d245a496577256de9785f183998a1d1559a6f67e /sys/arch | |
parent | d87f96440ac72ee70c754ba28ec32c07f117e979 (diff) |
from netbsd; do not save caller-saved registers
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/boot/bios.S | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/i386/boot/bios.S b/sys/arch/i386/boot/bios.S index 39cdb2fc382..ea00644b7fa 100644 --- a/sys/arch/i386/boot/bios.S +++ b/sys/arch/i386/boot/bios.S @@ -1,4 +1,4 @@ -/* $NetBSD: bios.S,v 1.12 1995/12/23 17:21:25 perry Exp $ */ +/* $NetBSD: bios.S,v 1.13 1996/01/06 22:15:29 mycroft Exp $ */ /* * Ported to boot 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 @@ -120,7 +120,6 @@ ENTRY(putc) pushl %ebp movl %esp, %ebp pushl %ebx - pushl %ecx movb 8(%ebp), %cl @@ -142,7 +141,6 @@ ENTRY(putc) data32 call _C_LABEL(real_to_prot) - popl %ecx popl %ebx popl %ebp ret @@ -347,10 +345,8 @@ ENTRY(usleep) pushl %ebp movl %esp, %ebp pushl %ebx - pushl %ecx # not clear if I need this. - pushl %edx # ...or this, but they are harmless. (perry) - movw 8(%ebp), %dx + movw 8(%ebp), %dx movw 10(%ebp), %cx call _C_LABEL(prot_to_real) @@ -367,8 +363,6 @@ ENTRY(usleep) xorl %eax, %eax movb %bl, %al - popl %edx - popl %ecx popl %ebx popl %ebp ret |