From 7dc808e7f9ed5cfc29c3ded0b013da5f5bc88b12 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Tue, 3 Oct 2006 22:41:02 +0000 Subject: [PATCH] Removed debug snapshot when entering SMM/RSM --- bochs/cpu/smm.cc | 8 ++++---- bochs/cpu/smm.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bochs/cpu/smm.cc b/bochs/cpu/smm.cc index 528bfc88c..452cd916d 100755 --- a/bochs/cpu/smm.cc +++ b/bochs/cpu/smm.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: smm.cc,v 1.21 2006-10-02 21:22:59 vruppert Exp $ +// $Id: smm.cc,v 1.22 2006-10-03 22:41:02 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2006 Stanislav Shwartsman @@ -97,17 +97,17 @@ void BX_CPU_C::RSM(bxInstruction_c *i) shutdown(); } - debug(RIP); + // debug(RIP); } void BX_CPU_C::enter_system_management_mode(void) { invalidate_prefetch_q(); - debug(BX_CPU_THIS_PTR prev_eip); - BX_INFO(("Enter to System Management Mode !")); + // debug(BX_CPU_THIS_PTR prev_eip); + BX_CPU_THIS_PTR in_smm = 1; Bit32u saved_state[SMM_SAVE_STATE_MAP_SIZE], n; diff --git a/bochs/cpu/smm.h b/bochs/cpu/smm.h index f4514ea0c..624fcecce 100755 --- a/bochs/cpu/smm.h +++ b/bochs/cpu/smm.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: smm.h,v 1.2 2006-10-02 18:50:34 sshwarts Exp $ +// $Id: smm.h,v 1.3 2006-10-03 22:41:02 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2006 Stanislav Shwartsman @@ -77,7 +77,7 @@ #define SMRAM_OFFSET_DR7 0x7f60 // Hi32 part of 64-bit CR0 0x7f5c (always zero) #define SMRAM_OFFSET_CR0 0x7f58 -// Hi32 part of 64-bit CR3 0x7f54 (always zerom, 32-bit physical address) +// Hi32 part of 64-bit CR3 0x7f54 (always zero, 32-bit physical address) #define SMRAM_OFFSET_CR3 0x7f50 // Hi32 part of 64-bit CR4 0x7f4c (always zero) #define SMRAM_OFFSET_CR4 0x7f48