60
60
addr += 8 + p->mmio_bar * 4;
61
61
base = grub_pci_read (addr);
62
62
if ((! base) || (base & GRUB_PCI_ADDR_SPACE_IO) ||
63
63
(base & GRUB_PCI_ADDR_MEM_PREFETCH))
67
67
base &= GRUB_PCI_ADDR_MEM_MASK;
70
70
if (*((volatile grub_uint32_t *) base) != p->mmio_old)
74
74
*((volatile grub_uint32_t *) base) = 0;
75
75
if (*((volatile grub_uint32_t *) base))