Changeset 7cb567cd in mainline for kernel/arch/ia32/src/boot
- Timestamp:
- 2007-04-08T20:52:53Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e5dbbe5
- Parents:
- 328f324b
- File:
-
- 1 edited
-
kernel/arch/ia32/src/boot/boot.S (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/boot.S
r328f324b r7cb567cd 64 64 multiboot_meeting_point: 65 65 66 pushl %ebx# save parameters from GRUB67 pushl %eax66 movl %eax, grub_eax # save parameters from GRUB 67 movl %ebx, grub_ebx 68 68 69 69 xorl %eax, %eax … … 105 105 call map_kernel # map kernel and turn paging on 106 106 107 popl%eax108 popl%ebx107 movl grub_eax, %eax 108 movl grub_ebx, %ebx 109 109 cmpl $MULTIBOOT_LOADER_MAGIC, %eax # compare GRUB signature 110 110 je valid_boot … … 482 482 .code32 483 483 vesa_init_protect: 484 popl %esp485 486 484 movw $selector(KDATA_DES), %cx 487 485 movw %cx, %es … … 491 489 movw %cx, %ss 492 490 491 movl $START_STACK, %esp # initialize stack pointer 492 493 493 jmpl $selector(KTEXT_DES), $vesa_meeting_point 494 494 … … 503 503 .space 4096, 0 504 504 505 grub_eax: 506 .long 0 507 508 grub_ebx: 509 .long 0 510 505 511 pse_msg: 506 512 .ascii "Page Size Extension not supported. System halted.\0"
Note:
See TracChangeset
for help on using the changeset viewer.
