]> Joshua Wise's Git repositories - netwatch.git/blame - grubload/mbentry.S
More ICH2-specific code diked out.
[netwatch.git] / grubload / mbentry.S
CommitLineData
c7eda62d 1/* mbentry.S
f1584bb0
JW
2 * Multiboot header
3 * NetWatch multiboot loader
4 *
5 * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved.
6 * This program is free software; you can redistribute and/or modify it under
7 * the terms found in the file LICENSE in the root of this source tree.
8 *
9 */
10
56553b73
JW
11.globl _start
12
13_start:
14 jmp multiboot_entry
15
16 .align 4
17multiboot_header:
18 .long 0x1badb002 /* Magic value */
19 .long 0x00000001 /* Flags -- "Please align modules for me" */
20 .long 0xE4524FFD /* Checksum */
21
22multiboot_entry:
23 mov $_stack_top, %esp
24 pushl %ebx /* Multiboot info structure */
25 pushl %eax /* Magic number */
9b8c947b
JW
26 call c_start
27hang: jmp hang
56553b73 28
6b988ea9 29 .section .bss
56553b73
JW
30 .align 4
31_stack:
32 .space 16384
33_stack_top:
This page took 0.03354 seconds and 4 git commands to generate.