Changeset b52da8d7 in mainline for arch/ia32/src/boot/boot.S
- Timestamp:
- 2005-08-29T11:57:26Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c245372b
- Parents:
- 229d5fc1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/boot/boot.S
r229d5fc1 rb52da8d7 48 48 call memmap_arch_init 49 49 50 lgdt gdtr 50 lgdt gdtr # initialize Global Descriptor Table register 51 lidt idtr # initialize Interrupt Descriptor Table register 52 51 53 movl %cr0,%eax 52 54 orl $0x1,%eax 53 movl %eax,%cr0 55 movl %eax,%cr0 # switch to protected mode 54 56 jmpl $8,$meeting_point 55 57 meeting_point: … … 63 65 movw %ax,%ss 64 66 65 lidt idtr 66 67 call map_kernel 67 call map_kernel # map kernel and turn paging on 68 68 69 69 movl $_hardcoded_ktext_size, hardcoded_ktext_size … … 95 95 movl %eax, %cr3 96 96 97 # turn on paging97 # turn paging on 98 98 movl %cr0, %ebx 99 99 orl $(1<<31), %ebx
Note:
See TracChangeset
for help on using the changeset viewer.