Hey everyone, sorry if this is a stupid question, i'm very much a beginner in osdev.
I know that a lot of physical address space is reserved for memory mapped devices, sometimes even gigabytes.
Does that mean that if I put in like 4 gigabytes of ram like half of it gets reserved?
Or does the bios somehow remap the memory so that I can access everything?
If so, does it actually map above 4 gigabytes? How does one even access that memory in 32 bit mode?
Or does some part of the RAM become unreachable? Also, can I manually remap it?
Reserved memory
Re: Reserved memory
No!8infy wrote:Or does the bios somehow remap the memory so that I can access everything?
Yes, sort of. Don't know how much exactly.8infy wrote:Does that mean that if I put in like 4 gigabytes of ram like half of it gets reserved?
No way. 32bit mode can't access more than 4GB.8infy wrote:If so, does it actually map above 4 gigabytes? How does one even access that memory in 32 bit mode?
Unreachable: Yes, see answer above. Remap: No.8infy wrote:Or does some part of the RAM become unreachable? Also, can I manually remap it?
Greetings
Peter
Re: Reserved memory
PeterX wrote:No!8infy wrote:Or does the bios somehow remap the memory so that I can access everything?
Yes, sort of. Don't know how much exactly.8infy wrote:Does that mean that if I put in like 4 gigabytes of ram like half of it gets reserved?
No way. 32bit mode can't access more than 4GB.8infy wrote:If so, does it actually map above 4 gigabytes? How does one even access that memory in 32 bit mode?
Unreachable: Yes, see answer above. Remap: No.8infy wrote:Or does some part of the RAM become unreachable? Also, can I manually remap it?
Greetings
Peter
But on my computer I have 32 gigabytes of memory and a ton of modern hardware and windows says that 31.9 is available, that doesn't seem right? So whats going on here? Or does it include the reserved memory as well?
Re: Reserved memory
No it doesn't show reserved memory.8infy wrote:But on my computer I have 32 gigabytes of memory and a ton of modern hardware and windows says that 31.9 is available, that doesn't seem right? So whats going on here? Or does it include the reserved memory as well?
The footprint on reserved memory can be very small, I don't know why it differs on different machines.
Greetings
Peter
-
- Member
- Posts: 5575
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Reserved memory
Usually no, but it depends on the chipset.8infy wrote:Does that mean that if I put in like 4 gigabytes of ram like half of it gets reserved?
Usually yes, but it depends on the chipset.8infy wrote:Or does the bios somehow remap the memory so that I can access everything?
When the chipset is capable of remapping memory, yes.8infy wrote:If so, does it actually map above 4 gigabytes?
PAE.8infy wrote:How does one even access that memory in 32 bit mode?
Usually no, but it depends on the chipset.8infy wrote:Or does some part of the RAM become unreachable?
You should let the firmware handle it.8infy wrote:Also, can I manually remap it?
Re: Reserved memory
Uh, then I was wrong. Thanks for correcting me.
I kind of can't believe BIOS really remaps memory above 4GB!?
Greetings
Peter
I kind of can't believe BIOS really remaps memory above 4GB!?
Greetings
Peter