mirror of
https://github.com/ipxe/ipxe
synced 2026-01-21 18:30:56 +03:00
[pci] Record prefetchable memory window for PCI bridges
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -151,7 +151,11 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
/** Memory base and limit */
|
||||
#define PCI_MEM_BASE 0x20
|
||||
#define PCI_MEM_LIMIT 0x22
|
||||
#define PCI_MEM_MASK 0x000f
|
||||
#define PCI_MEM_MASK 0x000fUL
|
||||
#define PCI_PREFMEM_BASE 0x24
|
||||
#define PCI_PREFMEM_LIMIT 0x26
|
||||
#define PCI_PREFMEM_BASE_HI 0x28
|
||||
#define PCI_PREFMEM_LIMIT_HI 0x2c
|
||||
|
||||
/** Construct PCI class
|
||||
*
|
||||
|
||||
@@ -34,6 +34,10 @@ struct pci_bridge {
|
||||
uint32_t membase;
|
||||
/** Memory limit */
|
||||
uint32_t memlimit;
|
||||
/** Prefetchable memory base */
|
||||
uint64_t prefmembase;
|
||||
/** Prefetchable memory limit */
|
||||
uint64_t prefmemlimit;
|
||||
/** List of bridges */
|
||||
struct list_head list;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user