repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
coverity appeasement
[minix.git]
/
kernel
/
arch
/
i386
/
io_outb.S
blob
7c0bf8d15752e9d61c4decf15a424244eec1a5b9
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
6
ENTRY(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