hi
when I expand my heap (and change page table with adding new pages to it) . I get an error!
changing entrys of page table and directory is enough or i must do somthing else like as invaliding it
paging problem
Re: paging problem
What kind of error do you get? A page fault?
If so, you can retrieve additional information
- from CR2 (the address, where the page fault was generated)
- in your interrupt service routine: along with the exception number you get an error code for this exception, ie. for the page fault. It tells you if it was an read or write access which caused the page fault etc.
If so, you can retrieve additional information
- from CR2 (the address, where the page fault was generated)
- in your interrupt service routine: along with the exception number you get an error code for this exception, ie. for the page fault. It tells you if it was an read or write access which caused the page fault etc.
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Re: paging problem
Please, ask smart questions. What is the error exactly? Also, we wont be able to help at all without some reference to your code, so please post what you're doing. Also, please describe any debugging steps you've taken so far (if you haven't done that, I recommend that first).
-JL
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Re: paging problem
hi
I'm update my svn:
http://sourceforge.net/projects/arax/develop
when in src/mmngr.c i remove lines 178-186 i got a page fault:
i think error is in the updating page_table entrys and they not updated on the MMU
I'm update my svn:
http://sourceforge.net/projects/arax/develop
when in src/mmngr.c i remove lines 178-186 i got a page fault:
i think error is in the updating page_table entrys and they not updated on the MMU
Re: paging problem
It depends. Some bits can be changed without invalidating the tlb. e.g. the present bit may be set.Megan65 wrote:hi
when I expand my heap (and change page table with adding new pages to it) . I get an error!
changing entrys of page table and directory is enough or i must do somthing else like as invaliding it
If a trainstation is where trains stop, what is a workstation ?