Changeset 106022 in vbox for trunk/include
- Timestamp:
- Sep 12, 2024 9:44:36 AM (3 months ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmapi.h
r98103 r106022 169 169 VMMR3DECL(int) PDMR3QueryDriverOnLun(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, 170 170 const char *pszDriver, PPPDMIBASE ppBase); 171 171 172 VMMR3DECL(int) PDMR3DeviceAttach(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, uint32_t fFlags, 172 173 PPDMIBASE *ppBase); … … 180 181 const char *pszDriver, unsigned iOccurrence, uint32_t fFlags, PCFGMNODE pCfg, 181 182 PPPDMIBASE ppBase); 183 /** 184 * Driver instance enumeration callback function. 185 * 186 * @returns VBox status code. Failures will stop the enumeration and be 187 * returned, informational statuses will be ignored and not returned. 188 * @param pIBase The base interface of the driver. 189 * @param uDrvInstance The driver instance number. 190 * @param fUsbDev Set if @a pszDevice is a USB device, clear if a 191 * regular device. 192 * @param pszDevice The device the driver is attached to. 193 * @param uDevInstance The device instance number. 194 * @param uLun The LUN on the device this instance is attached to. 195 * @param pvUser User argument. 196 * 197 * @note Called owning the core PDM list lock in shared mode. 198 */ 199 typedef DECLCALLBACKTYPE(int, FNPDMENUMDRVINS,(PPDMIBASE pIBase, uint32_t uDrvInstance, bool fUsbDev, const char *pszDevice, 200 uint32_t uDevInstance, unsigned uLun, void *pvUser)); 201 /** Pointer to a FNPDMENUMDRVINS() function. */ 202 typedef FNPDMENUMDRVINS *PFNPDMENUMDRVINS; 203 VMMR3DECL(int) PDMR3DriverEnumInstances(PUVM pUVM, const char *pszDriver, PFNPDMENUMDRVINS pfnCallback, void *pvUser); 204 182 205 VMMR3DECL(void) PDMR3DmaRun(PVM pVM); 183 206 -
trunk/include/VBox/vmm/vm.h
r105673 r106022 1412 1412 struct PDM s; 1413 1413 #endif 1414 uint8_t padding[22 400]; /* multiple of 64 */1414 uint8_t padding[22528]; /* multiple of 64 */ 1415 1415 } pdm; 1416 1416 … … 1574 1574 1575 1575 /** Padding for aligning the structure size on a page boundrary. */ 1576 uint8_t abAlignment2[0x3A 80 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];1576 uint8_t abAlignment2[0x3A00 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT]; 1577 1577 1578 1578 /* ---- end small stuff ---- */ -
trunk/include/VBox/vmm/vm.mac
r105227 r106022 157 157 .mm resb 192 158 158 alignb 64 159 .pdm resb 22 400159 .pdm resb 22528 160 160 alignb 64 161 161 .iom resb 1152 -
trunk/include/VBox/vmm/vmmr3vtable-def.h
r100184 r106022 639 639 VTABLE_ENTRY(PDMR3UsbQueryDriverOnLun) 640 640 641 VTABLE_RESERVED(pfnPDMR3Reserved1) 641 VTABLE_ENTRY(PDMR3DriverEnumInstances) 642 642 643 VTABLE_RESERVED(pfnPDMR3Reserved2) 643 644 VTABLE_RESERVED(pfnPDMR3Reserved3) -
trunk/include/VBox/vmm/vmmr3vtable.h
r100184 r106022 72 72 73 73 /** Magic and version for the VMM vtable. (Magic: Emmet Cohen) */ 74 #define VMMR3VTABLE_MAGIC_VERSION RT_MAKE_U64(0x19900525, 0x0005000 0)74 #define VMMR3VTABLE_MAGIC_VERSION RT_MAKE_U64(0x19900525, 0x00050001) 75 75 /** Compatibility mask: These bits must match - magic and major version. */ 76 76 #define VMMR3VTABLE_MAGIC_VERSION_MASK RT_MAKE_U64(0xffffffff, 0xffff0000)
Note:
See TracChangeset
for help on using the changeset viewer.