lib: add basic stack type
I can't believe I've made it this far without needing one
This commit is contained in:
parent
a10509f1e5
commit
a6b7d9b42d
3 changed files with 85 additions and 0 deletions
|
|
@ -16,6 +16,8 @@
|
|||
#include <dev/ahci.h>
|
||||
#include <dev/apic.h>
|
||||
|
||||
#include <lib/stack.h>
|
||||
|
||||
#include <fs/vfs.h>
|
||||
|
||||
#define LIMINE_INTERNAL_MODULE_REQUIRED (1 << 0)
|
||||
|
|
@ -124,6 +126,7 @@ void kmain()
|
|||
char kmem[one_gb] ALIGN(0x1000);
|
||||
mem_early_init(kmem, one_gb);
|
||||
|
||||
stack_init();
|
||||
gdt_init();
|
||||
idt_init();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue