mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
recoginize >4gb memory.
This commit is contained in:
1 parent
ada4cc670d
commit
c67be0dccd
4 files changed
+54
-27
No files matched your search
+5
-2
@@ -810,8 +810,11 @@ displaymem_func (char *arg, int flags)
|
||||
str = "Reserved";
|
||||
grub_printf (" %s: Base Address: 0x%x X 4GB + 0x%x,\n"
|
||||
" Length: %u X 4GB + %u bytes\n",
|
||||
str, map->BaseAddrHigh, map->BaseAddrLow,
|
||||
map->LengthHigh, map->LengthLow);
|
||||
str,
|
||||
(unsigned long) (map->BaseAddr >> 32),
|
||||
(unsigned long) (map->BaseAddr & 0xFFFFFFFF),
|
||||
(unsigned long) (map->Length >> 32),
|
||||
(unsigned long) (map->Length & 0xFFFFFFFF));
|
||||
|
||||
map = ((struct AddrRangeDesc *) (((int) map) + 4 + map->size));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user