- wx: use new log function name for the table of log modules
- added some more log function names
This commit is contained in:
parent
9e084b8898
commit
d74762b984
@ -80,7 +80,7 @@ bx_keymap_c bx_keymap;
|
||||
|
||||
bx_keymap_c::bx_keymap_c(void)
|
||||
{
|
||||
put("KMAP");
|
||||
put("keymap", "KMAP");
|
||||
|
||||
keymapCount = 0;
|
||||
keymapTable = (BXKeyEntry *)NULL;
|
||||
|
@ -314,7 +314,7 @@ bx_param_enum_c *bx_real_sim_c::get_param_enum(const char *pname, bx_param_c *ba
|
||||
void bx_init_siminterface()
|
||||
{
|
||||
siminterface_log = new logfunctions();
|
||||
siminterface_log->put("CTRL");
|
||||
siminterface_log->put("siminterface", "CTRL");
|
||||
if (SIM == NULL)
|
||||
SIM = new bx_real_sim_c();
|
||||
if (root_param == NULL) {
|
||||
|
@ -234,10 +234,10 @@ AdvancedLogOptionsDialog::AdvancedLogOptionsDialog(
|
||||
int devmax = SIM->get_n_log_modules();
|
||||
action = new wxChoice** [devmax]; // array of pointers
|
||||
for (int dev=0; dev<devmax; dev++) {
|
||||
if (strcmp(SIM->get_prefix(dev), "[ ]")) {
|
||||
if (strcmp(SIM->get_logfn_name(dev), "?")) {
|
||||
action[dev] = new wxChoice* [ADVLOG_OPTS_N_TYPES];
|
||||
// name of device in first column
|
||||
gridSizer->Add(new wxStaticText(scrollPanel, -1, wxString(SIM->get_prefix(dev), wxConvUTF8)));
|
||||
gridSizer->Add(new wxStaticText(scrollPanel, -1, wxString(SIM->get_logfn_name(dev), wxConvUTF8)));
|
||||
// wxChoice in every other column
|
||||
for (type=0; type < typemax; type++) {
|
||||
action[dev][type] = makeLogOptionChoiceBox(scrollPanel, -1, type);
|
||||
|
@ -65,7 +65,7 @@ bx_biosdev_c::bx_biosdev_c(void)
|
||||
bioslog->put("BIOS");
|
||||
|
||||
vgabioslog = new logfunctions();
|
||||
vgabioslog->put("VBIOS");
|
||||
vgabioslog->put("vgabios", "VBIOS");
|
||||
}
|
||||
|
||||
bx_biosdev_c::~bx_biosdev_c(void)
|
||||
|
@ -43,7 +43,7 @@ bx_devices_c bx_devices;
|
||||
// constructor for bx_devices_c
|
||||
bx_devices_c::bx_devices_c()
|
||||
{
|
||||
put("DEV");
|
||||
put("devices", "DEV");
|
||||
|
||||
read_port_to_handler = NULL;
|
||||
write_port_to_handler = NULL;
|
||||
|
@ -71,7 +71,7 @@ void iofunctions::init(void)
|
||||
n_logfn = 0;
|
||||
init_log(stderr);
|
||||
log = new logfunc_t(this);
|
||||
log->put("IO");
|
||||
log->put("logio", "IO");
|
||||
log->ldebug("Init(log file: '%s').",logfn);
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ const Bit64u bx_pc_system_c::NullTimerInterval = 0xffffffff;
|
||||
// constructor
|
||||
bx_pc_system_c::bx_pc_system_c()
|
||||
{
|
||||
this->put("SYS");
|
||||
this->put("pc_system", "SYS");
|
||||
|
||||
BX_ASSERT(numTimers == 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user