summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot.c
blob: b2b84f06aefb16604a1ee3df5b104bd6717798a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <arch/i386/gdt.h>
#include <arch/i386/interrupts/idt.h>
#include <arch/i386/sysenter.h>
#include <arch/i386/tty.h>
#include <kernel/main.h>

void kmain_early() {
	tty_clear();
	tty_const("gdt...");
	gdt_init();
	tty_const("idt...");
	idt_init();
	tty_const("sysenter...");
	sysenter_setup();
	kmain();
}