From d112ab99438552cf75af868863a4dd7c78602fc6 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Wed, 28 Apr 2021 17:57:57 +0000 Subject: [PATCH] fixed compilation --- bochs/cpu/smm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/cpu/smm.cc b/bochs/cpu/smm.cc index 10b3e4266..b165f2439 100644 --- a/bochs/cpu/smm.cc +++ b/bochs/cpu/smm.cc @@ -151,7 +151,7 @@ void BX_CPU_C::enter_system_management_mode(void) #endif #if BX_CPU_LEVEL >= 5 - if (BX_CPU_THIS_PTR efer.get_SVME) + if (BX_CPU_THIS_PTR efer.get_SVME()) BX_CPU_THIS_PTR efer.set32(BX_EFER_SVME_MASK); else BX_CPU_THIS_PTR efer.set32(0);