What to do about userland?
Posted: Thu Jul 26, 2007 2:16 am
Hi! I've followed and completed the Bran tutorial which was incredible! I have everything working as it shoud with a few modifications - the most notabily is I'm using the grub stage2_eltorito and run my kernel using qemu -cdrom - this ment I had to use the elf format on the nasm parts because else grub complained about not beeing able to read the binary.
After finishing the tutorial I am left with a just one questions which I can not seem to get the grip on and I am hoping someone here would like to enlighten me with their brilliance!
Question: Since I don't have a scheduler yet I just want to load a function called init() into userland. How do I setup userland and how do I load a function into it? I guess it is alot I need to do but just a hint in the right direction would be fine as well.
Thank you!
After finishing the tutorial I am left with a just one questions which I can not seem to get the grip on and I am hoping someone here would like to enlighten me with their brilliance!
Question: Since I don't have a scheduler yet I just want to load a function called init() into userland. How do I setup userland and how do I load a function into it? I guess it is alot I need to do but just a hint in the right direction would be fine as well.
Thank you!