lib: add basic stack type

I can't believe I've made it this far without needing one
This commit is contained in:
Michael Shaw 2024-01-30 22:08:36 -05:00
commit a6b7d9b42d
3 changed files with 85 additions and 0 deletions

View file

@ -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();