Changeset 24324 in vbox
- Timestamp:
- Nov 4, 2009 12:57:47 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54337
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r24243 r24324 60 60 * Global Variables * 61 61 *******************************************************************************/ 62 /* IO operation lookup arrays. */63 static uint32_t const g_aIOSize[4] = {1, 2, 0, 4};64 62 65 63 /** … … 2242 2240 if (pCtx->dr[7] & X86_DR7_ENABLED_MASK) 2243 2241 { 2242 /* IO operation lookup arrays. */ 2243 static uint32_t const aIOSize[4] = {1, 2, 0, 4}; 2244 2244 2245 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatDRxIOCheck); 2245 2246 for (unsigned i=0;i<4;i++) 2246 2247 { 2247 unsigned uBPLen = g_aIOSize[X86_DR7_GET_LEN(pCtx->dr[7], i)];2248 unsigned uBPLen = aIOSize[X86_DR7_GET_LEN(pCtx->dr[7], i)]; 2248 2249 2249 2250 if ( (IoExitInfo.n.u16Port >= pCtx->dr[i] && IoExitInfo.n.u16Port < pCtx->dr[i] + uBPLen)
Note:
See TracChangeset
for help on using the changeset viewer.