- update wxwindows param for cr4, since it's changed into a structure

This commit is contained in:
Bryce Denney 2002-09-15 11:01:36 +00:00
parent 1416f4e8bf
commit 03bb4c1c92

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// $Id: init.cc,v 1.27 2002-09-14 19:21:40 kevinlawton Exp $ // $Id: init.cc,v 1.28 2002-09-15 11:01:36 bdenney Exp $
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// //
// Copyright (C) 2001 MandrakeSoft S.A. // Copyright (C) 2001 MandrakeSoft S.A.
@ -157,7 +157,7 @@ cpu_param_handler (bx_param_c *param, int set, Bit32s val)
void BX_CPU_C::init(BX_MEM_C *addrspace) void BX_CPU_C::init(BX_MEM_C *addrspace)
{ {
BX_DEBUG(( "Init $Id: init.cc,v 1.27 2002-09-14 19:21:40 kevinlawton Exp $")); BX_DEBUG(( "Init $Id: init.cc,v 1.28 2002-09-15 11:01:36 bdenney Exp $"));
// BX_CPU_C constructor // BX_CPU_C constructor
BX_CPU_THIS_PTR set_INTR (0); BX_CPU_THIS_PTR set_INTR (0);
#if BX_SUPPORT_APIC #if BX_SUPPORT_APIC
@ -376,7 +376,7 @@ void BX_CPU_C::init(BX_MEM_C *addrspace)
DEFPARAM_NORMAL (CR3, cr3); DEFPARAM_NORMAL (CR3, cr3);
#endif #endif
#if BX_CPU_LEVEL >= 4 #if BX_CPU_LEVEL >= 4
DEFPARAM_NORMAL (CR4, cr4); DEFPARAM_NORMAL (CR4, cr4.registerValue);
#endif #endif
#endif // #if BX_SUPPORT_X86_64==0 #endif // #if BX_SUPPORT_X86_64==0