Fix abug in 64-bit memory address space
This commit is contained in:
parent
5978187394
commit
7d991d17a8
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ grub_lspci_iter (int bus, int dev, int func, grub_pci_id_t pciid)
|
|||
if ((space & GRUB_PCI_ADDR_MEM_TYPE_MASK)
|
||||
== GRUB_PCI_ADDR_MEM_TYPE_64)
|
||||
{
|
||||
space |= grub_pci_make_address (dev, reg);
|
||||
addr = grub_pci_make_address (dev, reg);
|
||||
space |= ((grub_uint64_t) grub_pci_read (addr)) << 32;
|
||||
reg++;
|
||||
grub_printf ("\t64-bit memory space %d at 0x%016llx [%s]\n",
|
||||
i, (unsigned long long)
|
||||
|
|
Loading…
Reference in a new issue