Higher Half x86 Bare Bones (Backup): Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
m You also need to be good at paging
No need to have a useless kernel.c here, people can figure that out themselves based on Bare Bones
Line 102:
stack:
resb STACKSIZE ; reserve 16k stack on a quadword boundary
</source>
 
==kernel.c==
This is not exactly your average int main(). Most notably, you do not have any library stuff available. Welcome to kernel land.
 
<source lang="c">
void _main( void* mbd, unsigned int magic )
{
//write your kernel here
}
</source>