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
Remove building with NOCRYPTO option
[minix3.git]
/
minix
/
kernel
/
arch
/
i386
/
io_inl.S
blob
f4e0accf87272c2751b6d694384b5ed2ad19f7f9
1
/* inl() - Input one dword Author: Kees J. Bot */
2
/* 18 Mar 1996 */
3
/* unsigned inl(U16_t port); */
4
#include <machine/asm.h>
5
6
ENTRY(inl)
7
push %ebp
8
movl %esp, %ebp
9
movl 8(%ebp), %edx /* port */
10
inl %dx /* read 1 dword */
11
pop %ebp
12
ret