Memory management in microkernel with modules from grub
Posted: Sun Feb 11, 2007 6:25 pm
Hi!
I have a secondary boot loader which sets up a gdt, basic idt, and paging. It then loads my kernel from the grub modules and jumps to 0xC0000000(where it mapped my real kernel to). But once in that kernel, I need to allocate pages to user-space apps. The problem is that i need to allocate a page table for my index for my allocator, index the pages, and then i also have to make sure i mark pages with modules in it as used. If you have any ideas on how to do this please please post them here. I am really puzzled about this issue.
Thanks.
I have a secondary boot loader which sets up a gdt, basic idt, and paging. It then loads my kernel from the grub modules and jumps to 0xC0000000(where it mapped my real kernel to). But once in that kernel, I need to allocate pages to user-space apps. The problem is that i need to allocate a page table for my index for my allocator, index the pages, and then i also have to make sure i mark pages with modules in it as used. If you have any ideas on how to do this please please post them here. I am really puzzled about this issue.
Thanks.