name cpu log functions in lower case
This commit is contained in:
parent
d74762b984
commit
86c7033a63
@ -178,9 +178,10 @@ bx_local_apic_c::bx_local_apic_c(BX_CPU_C *mycpu, unsigned id)
|
||||
BX_PANIC(("PANIC: invalid APIC_ID assigned %d", apic_id));
|
||||
#endif
|
||||
|
||||
char buffer[16];
|
||||
sprintf(buffer, "APIC%x", apic_id);
|
||||
put(buffer);
|
||||
char name[16], logname[16];
|
||||
sprintf(name, "APIC%x", apic_id);
|
||||
sprintf(logname, "apic%x", apic_id);
|
||||
put(logname, name);
|
||||
|
||||
// Register a non-active timer for use when the timer is started.
|
||||
timer_handle = bx_pc_system.register_timer_ticks(this,
|
||||
|
@ -38,9 +38,10 @@ BX_CPU_C::BX_CPU_C(unsigned id): bx_cpuid(id)
|
||||
// in case of SMF, you cannot reference any member data
|
||||
// in the constructor because the only access to it is via
|
||||
// global variables which aren't initialized quite yet.
|
||||
char buffer[16];
|
||||
sprintf(buffer, "CPU%x", bx_cpuid);
|
||||
put(buffer);
|
||||
char name[16], logname[16];
|
||||
sprintf(name, "CPU%x", bx_cpuid);
|
||||
sprintf(logname, "cpu%x", bx_cpuid);
|
||||
put(logname, name);
|
||||
|
||||
isa_extensions_bitmask = BX_SUPPORT_FPU ? BX_ISA_X87 : 0;
|
||||
cpu_extensions_bitmask = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user