VirtualBox

vbox的更動 2596 路徑 trunk/src/VBox/Devices/Bus


忽略:
時間撮記:
2007-5-11 下午05:13:13 (18 年 以前)
作者:
vboxsync
訊息:

Moved PFNPCICONFIGREAD and PFNPCICONFIGWRITE out in the open.

位置:
trunk/src/VBox/Devices/Bus
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r2538 r2596  
    309309}
    310310
    311 static uint32_t pci_default_read_config(PCIDevice *d,
    312                                         uint32_t address, int len)
     311
     312static DECLCALLBACK(uint32_t) pci_default_read_config(PCIDevice *d, uint32_t address, unsigned len)
    313313{
    314314    uint32_t val;
     
    328328}
    329329
    330 static void pci_default_write_config(PCIDevice *d,
    331                                      uint32_t address, uint32_t val, int len)
    332 {
    333     int can_write, i;
     330static DECLCALLBACK(void) pci_default_write_config(PCIDevice *d, uint32_t address, uint32_t val, unsigned len)
     331{
     332    int can_write;
     333    unsigned i;
    334334    uint32_t end, addr;
    335335
  • trunk/src/VBox/Devices/Bus/PCIInternal.h

    r486 r2596  
    4040typedef PCIIOREGION *PPCIIOREGION;
    4141
    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 
    4742/**
    4843 * PCI Device - Internal data.
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette