Rivoreo Source Code Repositories
src.rivoreo.one
/
emulators
/
v86
/
676966f2102232a7266023bd2bc0c4d153e04c06
/
.
/
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
;
}