aboutsummaryrefslogtreecommitdiff
path: root/kernel/entry/entry.c
blob: 2bc23a8b22fdbf257b15d259db489f11c75ea6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* entry.c */
#include "main/entry.h"
#include "types.h"

#include "multiboot.h"

struct multiboot_tag *mb_tag;

void entry(void *bootinfo_addr)
{
    mb_tag = bootinfo_addr;
    kmain();
    __asm__("cli\n\thlt");
}