vbox的更動 13368 路徑 trunk/include
- 時間撮記:
- 2008-10-17 上午11:35:13 (16 年 以前)
- 位置:
- trunk/include/VBox
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/VBox/iom.h
r12989 r13368 85 85 ) 86 86 87 /** 88 * MMIO type 89 */ 90 typedef enum IOMMMIOTYPE 91 { 92 /** 'Normal' MMIO. Reads and writes always fault. */ 93 IOMMMIOTYPE_MMIO = 1, 94 /** MMIO region backed by memory; protection can be turned off temporarily. */ 95 IOMMMIOTYPE_MMIO_WITH_RAM_BACKING, 96 /** The usual 32-bit type size hack. */ 97 IOMMMIOTYPE_32BIT_HACK = 0x7fffffff 98 } IOMMMIOTYPE; 87 99 88 100 /** … … 250 262 VMMR3DECL(int) IOMR3IOPortDeregister(PVM pVM, PPDMDEVINS pDevIns, RTIOPORT PortStart, RTUINT cPorts); 251 263 252 VMMR3DECL(int) IOMR3MMIORegisterR3(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser,264 VMMR3DECL(int) IOMR3MMIORegisterR3(PVM pVM, PPDMDEVINS pDevIns, IOMMMIOTYPE enmMMIOType, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser, 253 265 R3PTRTYPE(PFNIOMMMIOWRITE) pfnWriteCallback, 254 266 R3PTRTYPE(PFNIOMMMIOREAD) pfnReadCallback, -
trunk/include/VBox/pdmdev.h
r13367 r13368 2776 2776 * @returns VBox status. 2777 2777 * @param pDevIns The device instance to register the MMIO with. 2778 * @param enmMMIOType MMIO Type 2778 2779 * @param GCPhysStart First physical address in the range. 2779 2780 * @param cbRange The size of the range (in bytes). … … 2784 2785 * @param pszDesc Pointer to description string. This must not be freed. 2785 2786 */ 2786 DECLR3CALLBACKMEMBER(int, pfnMMIORegisterEx,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser,2787 DECLR3CALLBACKMEMBER(int, pfnMMIORegisterEx,(PPDMDEVINS pDevIns, IOMMMIOTYPE enmMMIOType, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser, 2787 2788 PFNIOMMMIOWRITE pfnWrite, PFNIOMMMIOREAD pfnRead, PFNIOMMMIOFILL pfnFill, 2788 2789 const char *pszDesc)); … … 3267 3268 * @copydoc PDMDEVHLPR3::pfnMMIORegisterEx 3268 3269 */ 3269 DECLINLINE(int) PDMDevHlpMMIORegisterEx(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser,3270 DECLINLINE(int) PDMDevHlpMMIORegisterEx(PPDMDEVINS pDevIns, IOMMMIOTYPE enmMMIOType, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser, 3270 3271 PFNIOMMMIOWRITE pfnWrite, PFNIOMMMIOREAD pfnRead, PFNIOMMMIOFILL pfnFill, 3271 3272 const char *pszDesc) 3272 3273 { 3273 return pDevIns->pDevHlpR3->pfnMMIORegisterEx(pDevIns, GCPhysStart, cbRange, pvUser, pfnWrite, pfnRead, pfnFill, pszDesc);3274 return pDevIns->pDevHlpR3->pfnMMIORegisterEx(pDevIns, enmMMIOType, GCPhysStart, cbRange, pvUser, pfnWrite, pfnRead, pfnFill, pszDesc); 3274 3275 } 3275 3276
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器