summaryrefslogtreecommitdiff
path: root/kernel/syscalls/port.c
blob: 0a27a5e30ad7565d9fe49f9500188964fd360c5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <syscalls.h>

// FIXME: PERMISSION CHECKS
void syscall_outw(u16 port, u16 word) {
  outw(port, word);
}

void syscall_outl(u16 port, u32 l) {
  outl(port, l);
}

u32 syscall_inl(u16 port) {
  return inl(port);
}