Reload cr3

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

Reload cr3

Post by digo_rp »

Hi all, I have a problem. I have paging at my os. so, when I type startx ... it enter on gui mode. at this mode I switch using int 0x10, and then I map

the address returned from int 0x10 physical address into the same address + 0xc0000000. cuz I put my kernel at higher half. I have a problem when I

try to read a vector before I map the address of gui .

so odd. does anyone could help me ?

how to solve that problem ?
User avatar
Combuster
Member
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: Reload cr3

Post by Combuster »

Please, write legibly and don't add excess linebreaks. Also, please make a coherent question instead of this collection of seemingly unrelated nonsense.
I map the address returned from int 0x10 physical address into the same address + 0xc0000000.
And what address would that be? Is that a good idea? Did you debug it?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Locked