Changeset 20835 in vbox for trunk/include/VBox
- Timestamp:
- Jun 23, 2009 1:55:08 PM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r20374 r20835 1103 1103 } PDMAPICVERSION; 1104 1104 1105 /** 1106 * APIC irq argument for SetInterruptFF. 1107 */ 1108 typedef enum PDMAPICIRQ 1109 { 1110 /** Invalid 0 entry. */ 1111 PDMAPICIRQ_INVALID = 0, 1112 /** Normal hardware interrupt. */ 1113 PDMAPICIRQ_HARDWARE, 1114 /** NMI. */ 1115 PDMAPICIRQ_NMI, 1116 /** SMI. */ 1117 PDMAPICIRQ_SMI, 1118 /** The usual 32-bit paranoia. */ 1119 PDMAPICIRQ_32BIT_HACK = 0x7fffffff 1120 } PDMAPICIRQ; 1121 1105 1122 1106 1123 /** … … 1116 1133 * 1117 1134 * @param pDevIns Device instance of the APIC. 1135 * @param enmType Irq type 1118 1136 * @param idCpu Virtual CPU to set flag upon. 1119 1137 */ 1120 DECLRCCALLBACKMEMBER(void, pfnSetInterruptFF,(PPDMDEVINS pDevIns, VMCPUID idCpu));1138 DECLRCCALLBACKMEMBER(void, pfnSetInterruptFF,(PPDMDEVINS pDevIns, PDMAPICIRQ enmType, VMCPUID idCpu)); 1121 1139 1122 1140 /** … … 1169 1187 1170 1188 /** Current PDMAPICHLPRC version number. */ 1171 #define PDM_APICHLPRC_VERSION 0x6001000 01189 #define PDM_APICHLPRC_VERSION 0x60010001 1172 1190 1173 1191 … … 1184 1202 * 1185 1203 * @param pDevIns Device instance of the APIC. 1204 * @param enmType Irq type 1186 1205 * @param idCpu Virtual CPU to set flag upon. 1187 1206 */ 1188 DECLR0CALLBACKMEMBER(void, pfnSetInterruptFF,(PPDMDEVINS pDevIns, VMCPUID idCpu));1207 DECLR0CALLBACKMEMBER(void, pfnSetInterruptFF,(PPDMDEVINS pDevIns, PDMAPICIRQ enmType, VMCPUID idCpu)); 1189 1208 1190 1209 /** … … 1237 1256 1238 1257 /** Current PDMAPICHLPR0 version number. */ 1239 #define PDM_APICHLPR0_VERSION 0x6001000 01258 #define PDM_APICHLPR0_VERSION 0x60010001 1240 1259 1241 1260 /** … … 1251 1270 * 1252 1271 * @param pDevIns Device instance of the APIC. 1272 * @param enmType IRQ type 1253 1273 * @param idCpu Virtual CPU to set flag upon. 1254 1274 */ 1255 DECLR3CALLBACKMEMBER(void, pfnSetInterruptFF,(PPDMDEVINS pDevIns, VMCPUID idCpu));1275 DECLR3CALLBACKMEMBER(void, pfnSetInterruptFF,(PPDMDEVINS pDevIns, PDMAPICIRQ enmType, VMCPUID idCpu)); 1256 1276 1257 1277 /** … … 1351 1371 1352 1372 /** Current PDMAPICHLP version number. */ 1353 #define PDM_APICHLPR3_VERSION 0xfd02000 01373 #define PDM_APICHLPR3_VERSION 0xfd020001 1354 1374 1355 1375 -
trunk/include/VBox/vm.h
r20752 r20835 294 294 295 295 296 /** This action forces the VM to service check andpending interrups on the APIC. */296 /** This action forces the VM to check any pending interrups on the APIC. */ 297 297 #define VMCPU_FF_INTERRUPT_APIC RT_BIT_32(0) 298 /** This action forces the VM to service check andpending interrups on the PIC. */298 /** This action forces the VM to check any pending interrups on the PIC. */ 299 299 #define VMCPU_FF_INTERRUPT_PIC RT_BIT_32(1) 300 300 /** This action forces the VM to schedule and run pending timer (TM). 301 301 * @remarks Don't move - PATM compatability. */ 302 302 #define VMCPU_FF_TIMER RT_BIT_32(2) 303 /** This action forces the VM to check any pending NMIs. */ 304 #define VMCPU_FF_INTERRUPT_NMI RT_BIT_32(3) 305 /** This action forces the VM to check any pending SMIs. */ 306 #define VMCPU_FF_INTERRUPT_SMI RT_BIT_32(4) 303 307 /** PDM critical section unlocking is pending, process promptly upon return to R3. */ 304 308 #define VMCPU_FF_PDM_CRITSECT RT_BIT_32(5)
Note:
See TracChangeset
for help on using the changeset viewer.