Removed debug snapshot when entering SMM/RSM

This commit is contained in:
Stanislav Shwartsman 2006-10-03 22:41:02 +00:00
parent 64832bf866
commit 7dc808e7f9
2 changed files with 6 additions and 6 deletions

View File

@ -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 // Copyright (c) 2006 Stanislav Shwartsman
@ -97,17 +97,17 @@ void BX_CPU_C::RSM(bxInstruction_c *i)
shutdown(); shutdown();
} }
debug(RIP); // debug(RIP);
} }
void BX_CPU_C::enter_system_management_mode(void) void BX_CPU_C::enter_system_management_mode(void)
{ {
invalidate_prefetch_q(); invalidate_prefetch_q();
debug(BX_CPU_THIS_PTR prev_eip);
BX_INFO(("Enter to System Management Mode !")); BX_INFO(("Enter to System Management Mode !"));
// debug(BX_CPU_THIS_PTR prev_eip);
BX_CPU_THIS_PTR in_smm = 1; BX_CPU_THIS_PTR in_smm = 1;
Bit32u saved_state[SMM_SAVE_STATE_MAP_SIZE], n; Bit32u saved_state[SMM_SAVE_STATE_MAP_SIZE], n;

View File

@ -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 // Copyright (c) 2006 Stanislav Shwartsman
@ -77,7 +77,7 @@
#define SMRAM_OFFSET_DR7 0x7f60 #define SMRAM_OFFSET_DR7 0x7f60
// Hi32 part of 64-bit CR0 0x7f5c (always zero) // Hi32 part of 64-bit CR0 0x7f5c (always zero)
#define SMRAM_OFFSET_CR0 0x7f58 #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 #define SMRAM_OFFSET_CR3 0x7f50
// Hi32 part of 64-bit CR4 0x7f4c (always zero) // Hi32 part of 64-bit CR4 0x7f4c (always zero)
#define SMRAM_OFFSET_CR4 0x7f48 #define SMRAM_OFFSET_CR4 0x7f48