Paging: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 141:
mov cr0, ebx
; Now reload the segment registers (CS, DS, SS, etc.) with
mov ax, DATA_SEL
Line 149:
mov gs, ax
; Reload CS with a 64-bit code selector by performing a long jmp
jmp CODE_SEL:reloadCS
[BITS 64]
reloadCS:
hlt ; Done. Replace these lines with your own code
jmp reloadCS
</source>
|