]> Joshua Wise's Git repositories - netwatch.git/blame - grubload/multiboot_asm.S
Have text.c take scrolling into account.
[netwatch.git] / grubload / multiboot_asm.S
CommitLineData
56553b73
JW
1.globl _start
2
3_start:
4 jmp multiboot_entry
5
6 .align 4
7multiboot_header:
8 .long 0x1badb002 /* Magic value */
9 .long 0x00000001 /* Flags -- "Please align modules for me" */
10 .long 0xE4524FFD /* Checksum */
11
12multiboot_entry:
13 mov $_stack_top, %esp
14 pushl %ebx /* Multiboot info structure */
15 pushl %eax /* Magic number */
9b8c947b
JW
16 call c_start
17hang: jmp hang
56553b73 18
6b988ea9 19 .section .bss
56553b73
JW
20 .align 4
21_stack:
22 .space 16384
23_stack_top:
This page took 0.020591 seconds and 4 git commands to generate.