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
+++ /dev/null
-/* 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
+++ /dev/null
-/* 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
+++ /dev/null
-/* 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
+++ /dev/null
-/* 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
+++ /dev/null
-/* 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
+++ /dev/null
-/* 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