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:
parent
b69f728246
commit
4a3209ae31
@ -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)--; \
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user