Rev 3985 | Rev 4127 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3985 | Rev 4015 | ||
|---|---|---|---|
| Line 102... | Line 102... | ||
| 102 | mov %bx, KA2PA(vesa_bpp) |
102 | mov %bx, KA2PA(vesa_bpp) |
| 103 | #endif |
103 | #endif |
| 104 | 104 | ||
| 105 | call map_kernel # map kernel and turn paging on |
105 | call map_kernel # map kernel and turn paging on |
| 106 | 106 | ||
| 107 | # ia32_cboot(grub_eax, grub_ebx) |
107 | # arch_pre_main(grub_eax, grub_ebx) |
| 108 | pushl grub_ebx |
108 | pushl grub_ebx |
| 109 | pushl grub_eax |
109 | pushl grub_eax |
| 110 | call ia32_cboot # Does not return. |
110 | call arch_pre_main |
| 111 | 111 | ||
| - | 112 | call main_bsp |
|
| - | 113 | ||
| 112 | # Not reached. |
114 | # Not reached. |
| 113 | 115 | ||
| 114 | cli |
116 | cli |
| 115 | hlt |
117 | hlt |
| 116 | 118 | ||
| 117 | .global map_kernel |
119 | .global map_kernel |
| 118 | map_kernel: |
120 | map_kernel: |