Changeset 41420 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- May 23, 2012 3:14:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/PGMInternal.h
r41391 r41420 2526 2526 #ifdef PGM_WITH_A20 2527 2527 # define PGM_A20_IS_ENABLED(a_pVCpu) ((a_pVCpu)->pgm.s.fA20Enabled) 2528 # define PGM_A20_APPLY(a_pVCpu, a_GCPhys) ((a_ pVCpu)->pgm.s.GCPhysA20Mask & (a_GCPhys))2528 # define PGM_A20_APPLY(a_pVCpu, a_GCPhys) ((a_GCPhys) & (a_pVCpu)->pgm.s.GCPhysA20Mask) 2529 2529 # define PGM_A20_APPLY_TO_VAR(a_pVCpu, a_GCPhysVar) \ 2530 do { a_GCPhysVar = (a_pVCpu)->pgm.s.GCPhysA20Mask & a_GCPhysVar; } while (0) 2530 do { a_GCPhysVar &= (a_pVCpu)->pgm.s.GCPhysA20Mask; } while (0) 2531 # define PGM_A20_ASSERT_MASKED(pVCpu, a_GCPhys) Assert(PGM_A20_APPLY(pVCpu, a_GCPhys) == (a_GCPhys)) 2531 2532 #else 2532 2533 # define PGM_A20_IS_ENABLED(a_pVCpu) (true) 2533 2534 # define PGM_A20_APPLY(a_pVCpu, a_GCPhys) (a_GCPhys) 2534 2535 # define PGM_A20_APPLY_TO_VAR(a_pVCpu, a_GCPhysVar) do { } while (0) 2536 # define PGM_A20_ASSERT_MASKED(pVCpu, a_GCPhys) do { } while (0) 2535 2537 #endif 2536 2538 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.