Changeset 19812 in vbox for trunk/include/VBox
- Timestamp:
- May 19, 2009 11:54:55 AM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hwaccm.h
r19808 r19812 81 81 #ifndef IN_RC 82 82 VMMDECL(int) HWACCMFlushTLB(PVMCPU pVCpu); 83 VMMDECL(int) HWACCMFlushAllTLBs(PVM pVM); 83 84 VMMDECL(int) HWACCMInvalidatePhysPage(PVMCPU pVCpu, RTGCPHYS GCPhys); 84 85 VMMDECL(bool) HWACCMIsNestedPagingActive(PVM pVM); -
trunk/include/VBox/vm.h
r19810 r19812 293 293 * (NON-GLOBAL FLUSH) */ 294 294 #define VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL RT_BIT_32(17) 295 /** Check for pending TLB shootdown actions. */ 296 #define VMCPU_FF_TLB_SHOOTDOWN RT_BIT_32(18) 297 /** Check for pending TLB flush action. */ 298 #define VMCPU_FF_TLB_FLUSH_BIT 19 299 #define VMCPU_FF_TLB_FLUSH RT_BIT_32(VMCPU_FF_TLB_FLUSH_BIT) 295 300 /** Check the interupt and trap gates */ 296 301 #define VMCPU_FF_TRPM_SYNC_IDT RT_BIT_32(20) … … 303 308 /** Inhibit interrupts pending. See EMGetInhibitInterruptsPC(). */ 304 309 #define VMCPU_FF_INHIBIT_INTERRUPTS RT_BIT_32(24) 305 /** Check for pending TLB shootdown actions. */306 #define VMCPU_FF_TLB_SHOOTDOWN RT_BIT_32(25)307 310 /** CSAM needs to scan the page that's being executed */ 308 311 #define VMCPU_FF_CSAM_SCAN_PAGE RT_BIT_32(26) … … 451 454 #define VM_FF_TESTANDCLEAR(pVM, iBit) (ASMBitTestAndClear(&(pVM)->fGlobalForcedActions, iBit)) 452 455 456 /** @def VMCPU_FF_TESTANDCLEAR 457 * Checks if one (!) force action in the specified set is pending and clears it atomically 458 * 459 * @returns true if the bit was set. 460 * @returns false if the bit was clear. 461 * @param pVCpu VMCPU Handle. 462 * @param iBit Bit position to check and clear 463 */ 464 #define VMCPU_FF_TESTANDCLEAR(pVCpu, iBit) (ASMBitTestAndClear(&(pVCpu)->fLocalForcedActions, iBit)) 465 453 466 /** @def VMCPU_FF_ISPENDING 454 467 * Checks if one or more force action in the specified set is pending for the given VCPU. 455 468 * 456 * @param pVCpu 469 * @param pVCpu VMCPU Handle. 457 470 * @param fFlags The flags to check for. 458 471 */
Note:
See TracChangeset
for help on using the changeset viewer.