Relocatable code and GRUB
Posted: Sat Jan 04, 2003 1:44 pm
I have moved some code for keyboard handling/console out of my kernel and into GRUB boot modules. I have them loaded and also moved to 0xb0000000 onwards which is my module area. They are compiled to be relocatable code and looking at the ld disassembly dump this seems to be true.
*But* I am getting inexplicable page faults at 0x80000000 onwards which is my kernel area.
Anybody who has done this before, any ideas?
PS. They worked fine when simply linked into the kernel direct. And also they are self-contained and using interrupts to communicate with the kernel interfaces, so no problems there.
*But* I am getting inexplicable page faults at 0x80000000 onwards which is my kernel area.
Anybody who has done this before, any ideas?
PS. They worked fine when simply linked into the kernel direct. And also they are self-contained and using interrupts to communicate with the kernel interfaces, so no problems there.