repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make vfs & filesystems use failable copying
[minix3.git]
/
kernel
/
arch
/
i386
/
io_outw.S
blob
57c45433e001fc89accee251d6e8c1e17b84d9e9
1
/* outw() - Output one word Author: Kees J. Bot */
2
/* 18 Mar 1996 */
3
/* void outw(U16_t port, U16_t value); */
4
#include <machine/asm.h>
5
6
ENTRY(outw)
7
push %ebp
8
movl %esp, %ebp
9
movl 8(%ebp), %edx /* port */
10
movl 8+4(%ebp), %eax /* value */
11
outw %dx /* output 1 word */
12
pop %ebp
13
ret