started work on pmm
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user