Rivoreo Source Code Repositories
src.rivoreo.one
/
emulators
/
v86
/
master
/
.
/
tests
/
kvm-unit-tests
/
x86
/
port80.c
blob: 522c1a4dc58ff7c1b68f0d1ea9e83ae89334e6a0 [
file
] [
log
] [
blame
] [
raw
]
#include
"libcflat.h"
int
main
()
{
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
;
}