Changeset 14096 in vbox
- Timestamp:
- Nov 11, 2008 4:54:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r14095 r14096 3159 3159 # if PGM_GST_TYPE == PGM_TYPE_AMD64 3160 3160 bool fBigPagesSupported = true; 3161 # error "We should not be here!" 3161 3162 # else 3162 3163 bool fBigPagesSupported = !!(CPUMGetGuestCR4(pVM) & X86_CR4_PSE); … … 3202 3203 } 3203 3204 # if PGM_GST_TYPE == PGM_TYPE_AMD64 3205 # error "We should not be here!" 3204 3206 for (uint64_t iPml4 = 0; iPml4 < X86_PG_PAE_ENTRIES; iPml4++) 3205 3207 { … … 3431 3433 || ( (PdeSrc.u & (X86_PDE4M_PS | X86_PDE4M_G)) == (X86_PDE4M_PS | X86_PDE4M_G) 3432 3434 # if PGM_GST_TYPE == PGM_TYPE_AMD64 3435 # error "We should not be here!" 3433 3436 && (cr4 & X86_CR4_PGE)) /* global 2/4MB page. */ 3434 3437 # else … … 3452 3455 && (PdeSrc.u & (X86_PDE4M_PS | X86_PDE4M_G)) == (X86_PDE4M_PS | X86_PDE4M_G) 3453 3456 # if PGM_GST_TYPE == PGM_TYPE_AMD64 3457 # error "We should not be here!" 3454 3458 && (cr4 & X86_CR4_PGE)) /* global 2/4MB page. */ 3455 3459 # else … … 3471 3475 { 3472 3476 # if PGM_GST_TYPE == PGM_TYPE_AMD64 3477 # error "We should not be here!" 3473 3478 pgmPoolFreeByPage(pPool, pShwPage, pShwPde->idx, iPdShw); 3474 3479 # else … … 3504 3509 { 3505 3510 # if PGM_GST_TYPE == PGM_TYPE_AMD64 3511 # error "We should not be here!" 3506 3512 pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDEDst->u & SHW_PDE_PG_MASK), pShwPde->idx, iPdShw); 3507 3513 # else
Note:
See TracChangeset
for help on using the changeset viewer.