how cpu recognize the 8gb memory

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
Raymond
Member
Member
Posts: 68
Joined: Thu Jun 09, 2016 4:39 am
Libera.chat IRC: 573410792

how cpu recognize the 8gb memory

Post by Raymond »

Hi,when the physical memory is over the 4gb such as 8gb memory,how the cpu recognize the physical address.

In 4gb mem,the max address is 0xffffffff,it is a limitation of 32 bit address,when the memory is over that value,how can i do?
Octocontrabass
Member
Member
Posts: 5587
Joined: Mon Mar 25, 2013 7:01 pm

Re: how cpu recognize the 8gb memory

Post by Octocontrabass »

The physical address space can be larger than the virtual address space. For example, 32-bit x86 has PAE and PSE-36, and ARM has LPAE.
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: how cpu recognize the 8gb memory

Post by Combuster »

Usually a PC with more than 3 gigabytes of ram isn't 32 bits, but rather 64 bits.
"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