Creating a 64-bit kernel using a separate loader: Difference between revisions

no edit summary
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 2:
{{In_Progress}}
 
This page is an extension to [[Creating_a_64-bit_kernel|Creating a 64-bit kernel]], specifically the section [[Creating_a_64-bit_kernel#With_a_separate_loader|Loading with a separate loader]]. If you haven'thave not read that, go read it now.<br/>
<b>EverythingThis inmay thisor pagemay isnot basedwork onwith myyour own researchkernel and testing,you itmay or may not workneed exactlyto liketweak thisit forto yourwork ownwith your kernel.</b>
 
== 64-bit kernel ==
Line 36:
call lmain
</source>
 
=== Loader ===
The loader must now set up its own <b>32-bit</b> [[Global Descriptor Table|GDT]] and parse the multiboot structure given to it by the bootstrap.<br/>
Anonymous user