Sign in
android-kvm
/
kvm-unit-tests
/
refs/heads/svm
/
.
/
x86
/
port80.c
blob: 791431c339512a909fa4203369bb6d142ba6e9e5 [
file
] [
log
] [
blame
] [
edit
]
#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
;
}