]> Zhao Yanbai Git Server - minix.git/commitdiff
Throw out ins[bwl] and out[bwl] from libc as they are not used
authorErik van der Kouwe <erik@minix3.org>
Fri, 23 Jul 2010 07:10:47 +0000 (07:10 +0000)
committerErik van der Kouwe <erik@minix3.org>
Fri, 23 Jul 2010 07:10:47 +0000 (07:10 +0000)
lib/libc/arch/i386/misc/Makefile.inc
lib/libc/arch/i386/misc/io_insb.S [deleted file]
lib/libc/arch/i386/misc/io_insl.S [deleted file]
lib/libc/arch/i386/misc/io_insw.S [deleted file]
lib/libc/arch/i386/misc/io_outsb.S [deleted file]
lib/libc/arch/i386/misc/io_outsl.S [deleted file]
lib/libc/arch/i386/misc/io_outsw.S [deleted file]

index 57b0f604cc1f4adde60efc51c7e392ca895b3299..2c0a23a2e958c5dc3594fc132d78d423feba9b5f 100644 (file)
@@ -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 (file)
index ac9ba19..0000000
+++ /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 (file)
index 3c68611..0000000
+++ /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 (file)
index 58719fd..0000000
+++ /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 (file)
index cee7e39..0000000
+++ /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 (file)
index e2e640d..0000000
+++ /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 (file)
index 25bee2c..0000000
+++ /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