| version 1.42, 2006/07/08 20:30:00 |
version 1.43, 2006/07/25 00:23:38 |
| Line 232 _C_LABEL(Multiboot_Header): |
|
| Line 232 _C_LABEL(Multiboot_Header): |
|
| cmpl $MULTIBOOT_INFO_MAGIC,%eax |
cmpl $MULTIBOOT_INFO_MAGIC,%eax |
| jne 1f |
jne 1f |
| |
|
| /* Indeed, a multiboot-compliat boot loader executed us. We copy |
/* |
| |
* Indeed, a multiboot-compliant boot loader executed us. We copy |
| * the received Multiboot information structure into kernel's data |
* the received Multiboot information structure into kernel's data |
| * space to process it later -- after we are relocated. It will |
* space to process it later -- after we are relocated. It will |
| * be safer to run complex C code than doing it at this point. */ |
* be safer to run complex C code than doing it at this point. |
| |
*/ |
| pushl %ebx # Address of Multiboot information |
pushl %ebx # Address of Multiboot information |
| call _C_LABEL(multiboot_pre_reloc) |
call _C_LABEL(multiboot_pre_reloc) |
| addl $4,%esp |
addl $4,%esp |