summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-07 01:20:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-07 01:20:34 +0000
commit39519b407f61dda7bf6402441e04b755b7790470 (patch)
tree91acef38f892c605cec713808a0382efc6185b1e /sys
parent263df148d53849caff697f0e5b3746cfadbb9b6f (diff)
no more {in,out}*, they are in machine/pio.h
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/stand/libsa/asm.S48
1 files changed, 1 insertions, 47 deletions
diff --git a/sys/arch/i386/stand/libsa/asm.S b/sys/arch/i386/stand/libsa/asm.S
index 4779f47d1d5..2113f7e6d50 100644
--- a/sys/arch/i386/stand/libsa/asm.S
+++ b/sys/arch/i386/stand/libsa/asm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.S,v 1.2 1997/04/15 06:23:35 mickey Exp $ */
+/* $OpenBSD: asm.S,v 1.3 1997/08/07 01:20:33 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -38,20 +38,6 @@
* @(#)srt0.c 5.3 (Berkeley) 4/28/91
*/
- .globl _inb
-_inb: movl 4(%esp),%edx
- subl %eax,%eax # clr eax
- NOP
- inb %dx,%al
- ret
-
- .globl _outb
-_outb: movl 4(%esp),%edx
- NOP
- movl 8(%esp),%eax
- outb %al,%dx
- ret
-
.globl ___udivsi3
___udivsi3:
movl 4(%esp),%eax
@@ -66,35 +52,3 @@ ___divsi3:
cltd
idivl 8(%esp)
ret
-
- .globl _insw
-_insw:
- pushl %edi
- movw 8(%esp),%dx
- movl 12(%esp),%edi
- movl 16(%esp),%ecx
- NOP
- cld
- nop
- .byte 0x66,0xf2,0x6d # rep insw
- nop
- movl %edi,%eax
- popl %edi
- ret
-
- # outsw(port,addr,cnt)
- .globl _outsw
-_outsw:
- pushl %esi
- movw 8(%esp),%dx
- movl 12(%esp),%esi
- movl 16(%esp),%ecx
- NOP
- cld
- nop
- .byte 0x66,0xf2,0x6f # rep outsw
- nop
- movl %esi,%eax
- popl %esi
- ret
-