From: Erik van der Kouwe Date: Fri, 23 Jul 2010 07:10:47 +0000 (+0000) Subject: Throw out ins[bwl] and out[bwl] from libc as they are not used X-Git-Tag: v3.1.8~154 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/mult.png?a=commitdiff_plain;h=a06e5c383d9bbcda06494520f9bcc4c4ca2c331e;p=minix.git Throw out ins[bwl] and out[bwl] from libc as they are not used --- diff --git a/lib/libc/arch/i386/misc/Makefile.inc b/lib/libc/arch/i386/misc/Makefile.inc index 57b0f604c..2c0a23a2e 100644 --- a/lib/libc/arch/i386/misc/Makefile.inc +++ b/lib/libc/arch/i386/misc/Makefile.inc @@ -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 diff --git a/lib/libc/arch/i386/misc/io_insb.S b/lib/libc/arch/i386/misc/io_insb.S deleted file mode 100644 index ac9ba19a1..000000000 --- a/lib/libc/arch/i386/misc/io_insb.S +++ /dev/null @@ -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 diff --git a/lib/libc/arch/i386/misc/io_insl.S b/lib/libc/arch/i386/misc/io_insl.S deleted file mode 100644 index 3c68611cc..000000000 --- a/lib/libc/arch/i386/misc/io_insl.S +++ /dev/null @@ -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 diff --git a/lib/libc/arch/i386/misc/io_insw.S b/lib/libc/arch/i386/misc/io_insw.S deleted file mode 100644 index 58719fd47..000000000 --- a/lib/libc/arch/i386/misc/io_insw.S +++ /dev/null @@ -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 diff --git a/lib/libc/arch/i386/misc/io_outsb.S b/lib/libc/arch/i386/misc/io_outsb.S deleted file mode 100644 index cee7e395a..000000000 --- a/lib/libc/arch/i386/misc/io_outsb.S +++ /dev/null @@ -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 diff --git a/lib/libc/arch/i386/misc/io_outsl.S b/lib/libc/arch/i386/misc/io_outsl.S deleted file mode 100644 index e2e640da5..000000000 --- a/lib/libc/arch/i386/misc/io_outsl.S +++ /dev/null @@ -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 diff --git a/lib/libc/arch/i386/misc/io_outsw.S b/lib/libc/arch/i386/misc/io_outsw.S deleted file mode 100644 index 25bee2c70..000000000 --- a/lib/libc/arch/i386/misc/io_outsw.S +++ /dev/null @@ -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