Sign in
kernel
/
pub
/
scm
/
virt
/
kvm
/
kvm-unit-tests
/
9c8389546e1fbb6e25cc5bc22bc2f2765e9dbfbe
/
.
/
x86
/
port80.c
blob: 791431c339512a909fa4203369bb6d142ba6e9e5 [
file
] [
log
] [
blame
]
#include
"libcflat.h"
int
main
(
void
)
{
int
i
;
printf
(
"begining port 0x80 write test\n"
);
for
(
i
=
0
;
i
<
10000000
;
++
i
)
asm
volatile
(
"outb %al, $0x80"
);
printf
(
"done\n"
);
return
0
;
}