started work on pmm

This commit is contained in:
2026-06-13 20:43:09 -04:00
parent 2ab98fe582
commit 4e8de774ef
5 changed files with 87 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
.code32
.section .text
.global disable_interrupts
disable_interrupts:
cli
ret
.global enable_interrupts
enable_interrupts:
@@ -8,4 +13,14 @@ enable_interrupts:
.global io_wait
io_wait:
outb %al, $0x80
ret
ret
.global load_grub_boot_struct
load_grub_boot_struct:
mov %ebx, grub_boot_struct_ptr
.section .bss
.align 4
.global grub_boot_struct_ptr
grub_boot_struct_ptr:
.int 0