Im busy re-writing my os again
anyway, have been trying to write some better paging routine this time and have been failing miserably.
anyway i found this flux oskit thing with what looks like some good paging routines and am wondering if anyone has used them and if
they are any good.
i have already re-worked them from my kernel and have posted the files below.
i havent had time to test it yet as im very busy at the min. if anyone can see any obvious errors in the code please let me know.
Paging
Re: Paging
the oskit is from the Utah university. So I think it should be without any error, especially in something so important like the paging.itisiuk wrote:Im busy re-writing my os again
anyway, have been trying to write some better paging routine this time and have been failing miserably.
anyway i found this fluxh oskit this with what looks like some good paging routines and am wonder if anyone hase used them and if
they are any good.
i have already re-worked them from my kernel and have posted the files below.
i havent had time to test it yet as im very busy at the min. if anyone can see any obvious errors in the code please let me know.
Rewriting virtual memory manager - Working on ELF support - Working on Device Drivers Handling
http://sourceforge.net/projects/jeko - Jeko Operating System
http://sourceforge.net/projects/jeko - Jeko Operating System
Re: Paging
well, after writing about 20 different ways to do paging and manage the physical mem i finally found there was nothing wrong with any of them.
the problem was this tiny piece of code
push ebx
can anyone guess what it is
thank fod for that
the problem was this tiny piece of code
push ebx
can anyone guess what it is
thank fod for that
Re: Paging
fod
Did you forget to do a pop for it, so the return value on the stack for the function was wrong?
Jules
Did you forget to do a pop for it, so the return value on the stack for the function was wrong?
Jules
Re: Paging
nope, i just forgot to push the muliboot info stucture so nothing worked at all. it took me 2 weeks to find that ,
one good thing though is ill never run out of paging routines again
one good thing though is ill never run out of paging routines again
Re: Paging
itisiuk wrote:nope, i just forgot to push the muliboot info stucture so nothing worked at all. it took me 2 weeks to find that ,
one good thing though is ill never run out of paging routines again