1/* outb() - Output one byte Author: Kees J. Bot */ 2/* 18 Mar 1996 */ 3/* void outb(U16_t port, U8_t value); */ 4#include <machine/asm.h> 5 6ENTRY(outb) 7 push %ebp 8 movl %esp, %ebp 9 movl 8(%ebp), %edx /* port */ 10 movl 8+4(%ebp), %eax /* value */ 11 outb %dx /* output 1 byte */ 12 pop %ebp 13 ret 14