A question about IA32 architecture

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.
Post Reply
fbiyuwei
Posts: 1
Joined: Wed Oct 12, 2011 4:08 am

A question about IA32 architecture

Post by fbiyuwei »

Hello everyone,I have studied IA32 architecture since a week ago.In many books ,writers always said:"In page mode,you can access memory more than 4GB."It always makes me very puzzled,please tell me why can a 32-bit CPU access memory more than 4GB in page mode!
Thanks for your answers!
User avatar
Rusky
Member
Member
Posts: 792
Joined: Wed Jan 06, 2010 7:07 pm

Re: A question about IA32 architecture

Post by Rusky »

You may be talking about PAE, or physical address extensions. This makes the physical addresses in page tables big enough to access more than 32 bits, while virtual addresses remain the same size. Individual processes still only see a 32-bit address space, but multiple processes combined can access more.
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: A question about IA32 architecture

Post by Combuster »

There's also PSE36 which works as a drop-in hack for old paging users, but the net effect is the same: You can point to anywhere in 64GB but only use 4G of it per address space.
"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 ]
Post Reply