Changeset 34268 in vbox
- Timestamp:
- Nov 22, 2010 9:41:24 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pci.h
r34231 r34268 57 57 /** Note: There are all sorts of dirty dependencies on the values in the 58 58 * pci device. Be careful when changing this. 59 * @todo we should introduce 32 & 64 bits physical address types60 59 */ 61 60 typedef enum PCIADDRESSSPACE … … 65 64 /** I/O space. */ 66 65 PCI_ADDRESS_SPACE_IO = 0x01, 66 /** 32-bit BAR. */ 67 PCI_ADDRESS_SPACE_BAR32 = 0x00, 68 /** 64-bit BAR. */ 69 PCI_ADDRESS_SPACE_BAR64 = 0x04, 67 70 /** Prefetch memory. */ 68 71 PCI_ADDRESS_SPACE_MEM_PREFETCH = 0x08 -
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r34231 r34268 720 720 if (iRegionSize == 0) 721 721 continue; 722 723 AssertMsg((pRegion->type & PCI_ADDRESS_SPACE_BAR64) == 0, ("64-bit BARs not yet implemented\n")); 722 724 723 725 if (pRegion->type & PCI_ADDRESS_SPACE_IO) -
trunk/src/VBox/Devices/Bus/PCIInternal.h
r33314 r34268 24 24 typedef struct PCIIOREGION 25 25 { 26 /** Current PCI mapping address .27 * -1 means not mapped. Memory addresses are relative to pci_mem_base. */26 /** Current PCI mapping address, 0xffffffff means not mapped. 27 @todo: make address and size 64-bit. */ 28 28 uint32_t addr; 29 29 uint32_t size; … … 73 73 74 74 enum { 75 /** Set if the specific device fun was requested by PDM.75 /** Set if the specific device function was requested by PDM. 76 76 * If clear the device and it's functions can be relocated to satisfy the slot request of another device. */ 77 77 PCIDEV_FLAG_REQUESTED_DEVFUNC = 1<<0, … … 83 83 PCIDEV_FLAG_PCI_EXPRESS_DEVICE = 1<<2, 84 84 /** Flag whether the device is capable of MSI. 85 * This one is set by analyzing device capabilities, or explicitly. */85 * This one is set by MsiInit(). */ 86 86 PCIDEV_FLAG_MSI_CAPABLE = 1<<3, 87 87 /** Flag whether the device is capable of MSI-X. 88 * This one is set by analyzing device capabilities. */88 * This one is set by MsixInit(). */ 89 89 PCIDEV_FLAG_MSIX_CAPABLE = 1<<4 90 90 };
Note:
See TracChangeset
for help on using the changeset viewer.