Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .section .text
- .globl start
- .extern _kmain
- start:
- jmp multiboot_entry
- .align 4
- multiboot_header:
- .long 0x1BADB002
- .long 0x00000003
- .long -(0x1BADB002 + 0x00000003)
- multiboot_entry:
- movl $(stack + 0x4000), %esp
- call _kmain
- ...
- GDT stuff
- ...
- IDT stuff
- ...
- ISR stuff
- ...
- IRQ stuff
- ...
- .section .bss
- .comm stack, 8192 # reserves 8K memory
- _sys_stack:
Advertisement
Add Comment
Please, Sign In to add comment