Results 1 to 2 of 2
hey..
I wanted to know how we can get to know the last accessible ram address. Because in x86 Arch..in some RAM , there exist some memory holes, which are ...
- 07-31-2009 #1
kernel last physical memory
hey..
I wanted to know how we can get to know the last accessible ram address. Because in x86 Arch..in some RAM , there exist some memory holes, which are used by the BIOS, and kernel does not have the access to that.
devmem_is_allowed() function could be used to check the valid ram access. I am still fiddling around with the codes for x86.
The max_pfn does not points to the last physical address.
If anybody finds it..please share it across.
- 07-31-2009 #2
Hi,
Eventually I got it myself. Just sharing so, it could help others too.
Its the variable 'high_memory' contains the highest virtual memory. And if we convert it to physical by _pa(high_memory) we get the highest address given by BIOS in its memory map


Reply With Quote