Hi!
I am going to implement paging in my kernel but before that i have one question. How do I load a program to a specific page from my kernel. Should I write it to the physical address of the page or what?
Thanks for the help I am sure you will give me.
Paging
Re:Paging
You need to map a certain number of pages first from the kernel, so that it maps physical memory to something in virtual memory such as (0x10000) or so. Then you can start writing directly to that memory from your kernel. If you plan to do multitasking, then you will most probably have to implement what we call memory contexts for each and every threads. I'd recommend to read some of the wiki regarding multitasking.