Throw out ins[bwl] and out[bwl] from libc as they are not used
This commit is contained in:
parent
c4bb6abc2b
commit
a06e5c383d
7 changed files with 0 additions and 118 deletions
|
@ -9,16 +9,10 @@ SRCS+= \
|
|||
getprocessor.S \
|
||||
io_inb.S \
|
||||
io_inl.S \
|
||||
io_insb.S \
|
||||
io_insl.S \
|
||||
io_insw.S \
|
||||
io_intr.S \
|
||||
io_inw.S \
|
||||
io_outb.S \
|
||||
io_outl.S \
|
||||
io_outsb.S \
|
||||
io_outsl.S \
|
||||
io_outsw.S \
|
||||
io_outw.S \
|
||||
oneC_sum.S \
|
||||
ucontext.S
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
/* insb() - Input a byte array Author: Kees J. Bot */
|
||||
/* 18 Mar 1996 */
|
||||
/* void insb(U16_t port, void *buf, size_t count); */
|
||||
|
||||
.text
|
||||
.globl _insb
|
||||
_insb:
|
||||
push %ebp
|
||||
movl %esp, %ebp
|
||||
cld
|
||||
push %edi
|
||||
movl 8(%ebp), %edx /* port */
|
||||
movl 12(%ebp), %edi /* buf */
|
||||
movl 16(%ebp), %ecx /* byte count */
|
||||
rep insb /* input many bytes */
|
||||
pop %edi
|
||||
pop %ebp
|
||||
ret
|
|
@ -1,19 +0,0 @@
|
|||
/* insl() - Input a dword array Author: Kees J. Bot */
|
||||
/* 18 Mar 1996 */
|
||||
/* void insl(U16_t port, void *buf, size_t count); */
|
||||
|
||||
.text
|
||||
.globl _insl
|
||||
_insl:
|
||||
push %ebp
|
||||
movl %esp, %ebp
|
||||
cld
|
||||
push %edi
|
||||
movl 8(%ebp), %edx /* port */
|
||||
movl 12(%ebp), %edi /* buf */
|
||||
movl 16(%ebp), %ecx /* byte count */
|
||||
shrl $2, %ecx /* dword count */
|
||||
rep insl /* input many dwords */
|
||||
pop %edi
|
||||
pop %ebp
|
||||
ret
|
|
@ -1,19 +0,0 @@
|
|||
/* insw() - Input a word array Author: Kees J. Bot */
|
||||
/* 18 Mar 1996 */
|
||||
/* void insw(U16_t port, void *buf, size_t count); */
|
||||
|
||||
.text
|
||||
.globl _insw
|
||||
_insw:
|
||||
push %ebp
|
||||
movl %esp, %ebp
|
||||
cld
|
||||
push %edi
|
||||
movl 8(%ebp), %edx /* port */
|
||||
movl 12(%ebp), %edi /* buf */
|
||||
movl 16(%ebp), %ecx /* byte count */
|
||||
shrl $1, %ecx /* word count */
|
||||
rep insw /* input many words */
|
||||
pop %edi
|
||||
pop %ebp
|
||||
ret
|
|
@ -1,18 +0,0 @@
|
|||
/* outsb() - Output a byte array Author: Kees J. Bot */
|
||||
/* 18 Mar 1996 */
|
||||
/* void outsb(U16_t port, void *buf, size_t count); */
|
||||
|
||||
.text
|
||||
.globl _outsb
|
||||
_outsb:
|
||||
push %ebp
|
||||
movl %esp, %ebp
|
||||
cld
|
||||
push %esi
|
||||
movl 8(%ebp), %edx /* port */
|
||||
movl 12(%ebp), %esi /* buf */
|
||||
movl 16(%ebp), %ecx /* byte count */
|
||||
rep outsb /* output many bytes */
|
||||
pop %esi
|
||||
pop %ebp
|
||||
ret
|
|
@ -1,19 +0,0 @@
|
|||
/* outsl() - Output a dword array Author: Kees J. Bot */
|
||||
/* 18 Mar 1996 */
|
||||
/* void outsl(U16_t port, void *buf, size_t count); */
|
||||
|
||||
.text
|
||||
.globl _outsl
|
||||
_outsl:
|
||||
push %ebp
|
||||
movl %esp, %ebp
|
||||
cld
|
||||
push %esi
|
||||
movl 8(%ebp), %edx /* port */
|
||||
movl 12(%ebp), %esi /* buf */
|
||||
movl 16(%ebp), %ecx /* byte count */
|
||||
shrl $2, %ecx /* dword count */
|
||||
rep outsl /* output many dwords */
|
||||
pop %esi
|
||||
pop %ebp
|
||||
ret
|
|
@ -1,19 +0,0 @@
|
|||
/* outsw() - Output a word array Author: Kees J. Bot */
|
||||
/* 18 Mar 1996 */
|
||||
/* void outsw(U16_t port, void *buf, size_t count); */
|
||||
|
||||
.text
|
||||
.globl _outsw
|
||||
_outsw:
|
||||
push %ebp
|
||||
movl %esp, %ebp
|
||||
cld
|
||||
push %esi
|
||||
movl 8(%ebp), %edx /* port */
|
||||
movl 12(%ebp), %esi /* buf */
|
||||
movl 16(%ebp), %ecx /* byte count */
|
||||
shrl $1, %ecx /* word count */
|
||||
rep outsw /* output many words */
|
||||
pop %esi
|
||||
pop %ebp
|
||||
ret
|
Loading…
Reference in a new issue