summaryrefslogtreecommitdiff
path: root/kernel/src/sys/userspace.c
blob: 111180a4dfb290ff6b56c12b58e65a1477a8b8bd (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <types.h>
#include <userspace.h>

void begin_userspace()
{
	__asm__ volatile ("mov $0x1, %rax; syscall;");
	__asm__ volatile ("mov $0x11, %rax; syscall;");
	__asm__ volatile ("mov $0x111, %rax; syscall;");
	while(true) {
	}
}