Hey everyone,
I've a little question about Paging. After booting my kernel the physical adresses 0-10 MB are direct mapped to the virtual adresses 0-10 MB. So far there is no problem. If a program now tries to access an address above the 10 MB limit the CPU fires up a page fault exception and my kernel has to handle it. Now I should map the required address for the program, but how can I dected which address was requested by the program. I could guess the CPU is telling me the address when the exception fires up, but where?
I hope you can help me a little.
Greetings
SeVo
A question about paging
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: A question about paging
Intel 3A.5 chapter 12 verse 14
Just RTFM
Just RTFM