Changeset bf25efb in mainline for kernel/arch/ia32/src/boot/boot.S
- Timestamp:
- 2009-03-01T19:35:58Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d5a50c
- Parents:
- 4b241f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/boot.S
r4b241f3 rbf25efb 105 105 call map_kernel # map kernel and turn paging on 106 106 107 movl grub_eax, %eax 108 movl grub_ebx, %ebx 109 cmpl $MULTIBOOT_LOADER_MAGIC, %eax # compare GRUB signature 110 je valid_boot 111 112 xorl %ecx, %ecx # no memory map available 113 movl %ecx, e820counter 114 115 jmp invalid_boot 116 117 valid_boot: 118 119 movl grub_eax, %eax 120 movl grub_ebx, %ebx 121 122 # ia32_boot(grub_eax, grub_ebx) 123 pushl %ebx 124 pushl %eax 107 # ia32_cboot(grub_eax, grub_ebx) 108 pushl grub_ebx 109 pushl grub_eax 125 110 call ia32_cboot # Does not return. 126 111 127 112 # Not reached. 128 129 invalid_boot:130 113 131 114 cli
Note:
See TracChangeset
for help on using the changeset viewer.