Changeset f476e76 in mainline for kernel/arch/ia32/src/boot/boot.S
- Timestamp:
- 2006-07-24T12:24:19Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d227101
- Parents:
- 0356274
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/boot.S
r0356274 rf476e76 37 37 .section K_TEXT_START, "ax" 38 38 39 KTEXT=840 KDATA=1641 42 39 .code32 43 40 .align 4 … … 57 54 lgdt KA2PA(bootstrap_gdtr) # initialize Global Descriptor Table register 58 55 59 movw $ KDATA, %cx56 movw $selector(KDATA_DES), %cx 60 57 movw %cx, %es 61 58 movw %cx, %fs … … 64 61 movw %cx, %ss 65 62 66 jmpl $ KTEXT, $multiboot_meeting_point63 jmpl $selector(KTEXT_DES), $multiboot_meeting_point 67 64 multiboot_meeting_point: 68 65 … … 385 382 9: 386 383 387 ljmpl $ KTEXT, $(vesa_init_protect - vesa_init + VESA_INIT_SEGMENT << 4)384 ljmpl $selector(KTEXT_DES), $(vesa_init_protect - vesa_init + VESA_INIT_SEGMENT << 4) 388 385 389 386 0:# No prefered mode found … … 412 409 popl %esp 413 410 414 movw $ KDATA, %cx411 movw $selector(KDATA_DES), %cx 415 412 movw %cx, %es 416 413 movw %cx, %fs … … 419 416 movw %cx, %ss 420 417 421 jmpl $ KTEXT, $vesa_meeting_point418 jmpl $selector(KTEXT_DES), $vesa_meeting_point 422 419 423 420 .align 4
Note:
See TracChangeset
for help on using the changeset viewer.