Posted: Sat Sep 01, 2007 12:12 pm
Exactly right! There may be an easier way to get it too do that but I never figured it out and that linker script works just fine for me.
Frank,frank wrote: Not True. I use a binary kernel. The first 4kb of my kernel is an assembly stub that sets up protected mode and paging and jumps to the rest of the kernel.
Well no they are in the same binary and are linked together it's just that I page align my sections.vhg119 wrote:Frank,frank wrote: Not True. I use a binary kernel. The first 4kb of my kernel is an assembly stub that sets up protected mode and paging and jumps to the rest of the kernel.
Does that mean that your kernel is in two binaries? If so, I assume you load the 'initializer' portion into one page and the other part into another page?