1 2 3 4 5 6 7 8 9 10
#include "syscall.h" #ifdef SYS_iopl #include <sys/io.h> int iopl(int level) { return syscall(SYS_iopl, level); } #endif