1
0

port80.c 202 B

123456789101112
  1. #include "libcflat.h"
  2. int main()
  3. {
  4. int i;
  5. printf("begining port 0x80 write test\n");
  6. for (i = 0; i < 10000000; ++i)
  7. asm volatile("outb %al, $0x80");
  8. printf("done\n");
  9. return 0;
  10. }