diff options
Diffstat (limited to '')
-rw-r--r-- | libc-top-half/musl/src/linux/iopl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/linux/iopl.c b/libc-top-half/musl/src/linux/iopl.c new file mode 100644 index 0000000..835d3d4 --- /dev/null +++ b/libc-top-half/musl/src/linux/iopl.c @@ -0,0 +1,10 @@ +#include "syscall.h" + +#ifdef SYS_iopl +#include <sys/io.h> + +int iopl(int level) +{ + return syscall(SYS_iopl, level); +} +#endif |