fixed compilation issue

This commit is contained in:
Stanislav Shwartsman 2011-08-11 19:45:21 +00:00
parent e4513c727a
commit 7af5dccdcf
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ Bit32u p4_prescott_celeron_336_t::get_cpu_extensions_bitmask(void) const
BX_CPU_PGE |
BX_CPU_PSE36 |
BX_CPU_MTRR |
BX_CPU_PAT;
BX_CPU_PAT |
BX_CPU_XAPIC |
BX_CPU_NX;
}

View File

@ -1277,7 +1277,7 @@ void BX_CPU_C::assert_checks(void)
}
}
#if BX_SUPPORT_X86_64 == 0
#if BX_SUPPORT_X86_64 == 0 && BX_CPU_LEVEL >= 6
if (BX_CPU_THIS_PTR efer_suppmask & (BX_EFER_SCE_MASK |
BX_EFER_LME_MASK | BX_EFER_LMA_MASK | BX_EFER_FFXSR_MASK))
{