Changeset 2596 in vbox for trunk/src/VBox
- Timestamp:
- May 11, 2007 5:13:13 PM (18 years ago)
- Location:
- trunk/src/VBox/Devices/Bus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r2538 r2596 309 309 } 310 310 311 static uint32_t pci_default_read_config(PCIDevice *d, 312 uint32_t address, intlen)311 312 static DECLCALLBACK(uint32_t) pci_default_read_config(PCIDevice *d, uint32_t address, unsigned len) 313 313 { 314 314 uint32_t val; … … 328 328 } 329 329 330 static void pci_default_write_config(PCIDevice *d,331 uint32_t address, uint32_t val, int len) 332 { 333 int can_write,i;330 static DECLCALLBACK(void) pci_default_write_config(PCIDevice *d, uint32_t address, uint32_t val, unsigned len) 331 { 332 int can_write; 333 unsigned i; 334 334 uint32_t end, addr; 335 335 -
trunk/src/VBox/Devices/Bus/PCIInternal.h
r486 r2596 40 40 typedef PCIIOREGION *PPCIIOREGION; 41 41 42 /** Pointer to pci_default_read_config. */43 typedef uint32_t (*PFNPCICONFIGREAD)(PPCIDEVICE pPciDev, uint32_t u32CfgAddress, int cb);44 /** Pointer to pci_default_write_config. */45 typedef void (*PFNPCICONFIGWRITE)(PPCIDEVICE pPciDev, uint32_t u32CfgAddress, uint32_t u32Data, int cb);46 47 42 /** 48 43 * PCI Device - Internal data.
Note:
See TracChangeset
for help on using the changeset viewer.