Changeset 34163 in vbox for trunk/include
- Timestamp:
- Nov 18, 2010 12:16:43 PM (14 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r33799 r34163 2279 2279 * Must be page aligned! 2280 2280 * @param pvBinary Pointer to the binary data backing the ROM image. 2281 * This must be cbRange bytes big.2282 * It will be copied and doesn't have to stick around if fShadow is clear.2281 * @param cbBinary The size of the binary pointer. This must 2282 * be equal or smaller than @a cbRange. 2283 2283 * @param fFlags Shadow ROM flags, PGMPHYS_ROM_FLAGS_* in pgm.h. 2284 2284 * @param pszDesc Pointer to description string. This must not be freed. … … 2287 2287 * manually from the device yet. At present I doubt we need such features... 2288 2288 */ 2289 DECLR3CALLBACKMEMBER(int, pfnROMRegister,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, const void *pvBinary, uint32_t fFlags, const char *pszDesc)); 2289 DECLR3CALLBACKMEMBER(int, pfnROMRegister,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, 2290 const void *pvBinary, uint32_t cbBinary, uint32_t fFlags, const char *pszDesc)); 2290 2291 2291 2292 /** … … 3976 3977 * @copydoc PDMDEVHLPR3::pfnROMRegister 3977 3978 */ 3978 DECLINLINE(int) PDMDevHlpROMRegister(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, const void *pvBinary, uint32_t fFlags, const char *pszDesc) 3979 { 3980 return pDevIns->pHlpR3->pfnROMRegister(pDevIns, GCPhysStart, cbRange, pvBinary, fFlags, pszDesc); 3979 DECLINLINE(int) PDMDevHlpROMRegister(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, 3980 const void *pvBinary, uint32_t cbBinary, uint32_t fFlags, const char *pszDesc) 3981 { 3982 return pDevIns->pHlpR3->pfnROMRegister(pDevIns, GCPhysStart, cbRange, pvBinary, cbBinary, fFlags, pszDesc); 3981 3983 } 3982 3984 -
trunk/include/VBox/pgm.h
r33540 r34163 492 492 493 493 VMMR3DECL(int) PGMR3PhysRomRegister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhys, RTGCPHYS cb, 494 const void *pvBinary, uint32_t fFlags, const char *pszDesc);494 const void *pvBinary, uint32_t cbBinary, uint32_t fFlags, const char *pszDesc); 495 495 VMMR3DECL(int) PGMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, PGMROMPROT enmProt); 496 496 VMMR3DECL(int) PGMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, const SUPPAGE *paPages, const char *pszDesc);
Note:
See TracChangeset
for help on using the changeset viewer.