- Timestamp:
- Dec 2, 2013 2:03:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r49734 r49740 4093 4093 /* 64-bit capable CPUs. */ 4094 4094 # if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 4095 Assert(!(pCtx->cs.u64Base >> 32)); 4096 Assert(!pCtx->ss.Attr.u || !(pCtx->ss.u64Base >> 32)); 4097 Assert(!pCtx->ds.Attr.u || !(pCtx->ds.u64Base >> 32)); 4098 Assert(!pCtx->es.Attr.u || !(pCtx->es.u64Base >> 32)); 4095 if (HMVMX_IS_64BIT_HOST_MODE()) 4096 { 4097 Assert(!(pCtx->cs.u64Base >> 32)); 4098 Assert(!pCtx->ss.Attr.u || !(pCtx->ss.u64Base >> 32)); 4099 Assert(!pCtx->ds.Attr.u || !(pCtx->ds.u64Base >> 32)); 4100 Assert(!pCtx->es.Attr.u || !(pCtx->es.u64Base >> 32)); 4101 } 4099 4102 # endif 4100 4103 } … … 4142 4145 /* 64-bit capable CPUs. */ 4143 4146 # if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 4144 Assert(!(pCtx->cs.u64Base >> 32)); 4145 Assert(!u32SSAttr || !(pCtx->ss.u64Base >> 32)); 4146 Assert(!u32DSAttr || !(pCtx->ds.u64Base >> 32)); 4147 Assert(!u32ESAttr || !(pCtx->es.u64Base >> 32)); 4147 if (HMVMX_IS_64BIT_HOST_MODE()) 4148 { 4149 Assert(!(pCtx->cs.u64Base >> 32)); 4150 Assert(!u32SSAttr || !(pCtx->ss.u64Base >> 32)); 4151 Assert(!u32DSAttr || !(pCtx->ds.u64Base >> 32)); 4152 Assert(!u32ESAttr || !(pCtx->es.u64Base >> 32)); 4153 } 4148 4154 # endif 4149 4155 }
Note:
See TracChangeset
for help on using the changeset viewer.