recoginize >4gb memory.

This commit is contained in:
okuji committed 2000-06-18 13:58:48 +00:00
1 parent ada4cc670d
commit c67be0dccd
4 files changed
+54 -27

No files matched your search

+5 -2
View File
@@ -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));
}