Increase cpu param length (exceeded with new icount variable)

CHECK_MAX_INSTRUCTIONS is not needed for debugger anymore.
Next step: eliminate it for SMP as well and remove cpu_loop parameter.
This commit is contained in:
Stanislav Shwartsman 2011-08-17 20:00:51 +00:00
parent b69f728246
commit 4a3209ae31
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ static unsigned iCacheMisses=0;
//
// If maximum instructions have been executed, return. The zero-count
// means run forever.
#if BX_SUPPORT_SMP || BX_DEBUGGER
#if BX_SUPPORT_SMP
#define CHECK_MAX_INSTRUCTIONS(count) \
if ((count) > 0) { \
(count)--; \

View File

@ -350,7 +350,7 @@ void BX_CPU_C::register_state(void)
sprintf(name, "cpu%d", BX_CPU_ID);
bx_list_c *cpu = new bx_list_c(SIM->get_bochs_root(), name, name, 50 + BX_GENERAL_REGISTERS);
bx_list_c *cpu = new bx_list_c(SIM->get_bochs_root(), name, name, 55 + BX_GENERAL_REGISTERS);
BXRS_HEX_PARAM_SIMPLE(cpu, isa_extensions_bitmask);
BXRS_HEX_PARAM_SIMPLE(cpu, cpu_extensions_bitmask);