updates for instrumentation

This commit is contained in:
Stanislav Shwartsman 2008-11-18 20:58:09 +00:00
parent 3d60e1e20d
commit fbd078cb70
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: init.cc,v 1.180 2008-11-18 20:55:59 sshwarts Exp $
// $Id: init.cc,v 1.181 2008-11-18 20:58:09 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -991,7 +991,7 @@ void BX_CPU_C::reset(unsigned source)
// initialize CPUID values - make sure apicbase already initialized
set_cpuid_defaults();
BX_INSTR_RESET(BX_CPU_ID);
BX_INSTR_RESET(BX_CPU_ID, source);
}
void BX_CPU_C::sanity_checks(void)

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: main.cc,v 1.384 2008-10-18 17:12:37 sshwarts Exp $
// $Id: main.cc,v 1.385 2008-11-18 20:58:08 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -1080,7 +1080,7 @@ void bx_init_hardware()
BX_CPU(0)->initialize();
BX_CPU(0)->sanity_checks();
BX_CPU(0)->register_state();
BX_INSTR_INIT(0);
BX_INSTR_INITIALIZE(0);
#else
bx_cpu_array = new BX_CPU_C_PTR[BX_SMP_PROCESSORS];
@ -1089,7 +1089,7 @@ void bx_init_hardware()
BX_CPU(i)->initialize(); // assign local apic id in 'initialize' method
BX_CPU(i)->sanity_checks();
BX_CPU(i)->register_state();
BX_INSTR_INIT(i);
BX_INSTR_INITIALIZE(i);
}
#endif