Hello, This week has been a productive one, talking to ron we decided I must spend time with the PBS until it loads a kernel as it should. After that, the rest is probably easier.
Done: - More FAT removal. - The info in the read kernel a.out header comes in big-endian, now it's converted to little-endian so we can use it properly. - The kernel is now loaded at the right place. It was being read at 0x10000 absolute since that's where 9load was loaded. The kernel should really sit at 0x100000 absolute, but we can not reach that far in memory. Use LOADSEG=0xffff and LOADOFF=0x10 so as to get 0x100000 (0xffff*16 + 0x10 = 0x100000) absolute. - The first instruction in the kernel are run ok. We have not set up gdt and protected mode yet so it doesn't go much far. Next: - Set up gdt and protected mode. - Study what the kernel expects from the machine when it is passed control. - Make PBS and kernel good friends. Best, iru --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Plan 9 Google Summer of Code" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/plan9-gsoc?hl=en -~----------~----~----~----~------~----~------~--~---
