Line 205... |
Line 205... |
}
|
}
|
else
|
else
|
config.cpu.sbuf_len = val.int_val;
|
config.cpu.sbuf_len = val.int_val;
|
}
|
}
|
|
|
|
static void
|
|
cpu_hardfloat (union param_val val, void *dat)
|
|
{
|
|
config.cpu.hardfloat = val.int_val;
|
|
}
|
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
/*!Register the functions to handle a section cpu
|
/*!Register the functions to handle a section cpu
|
|
|
This section does not allocate dynamically a data structure holding its
|
This section does not allocate dynamically a data structure holding its
|
config information. It's all in the global config.sim data
|
config information. It's all in the global config.sim data
|
Line 229... |
Line 234... |
reg_config_param (sec, "sr", paramt_int, cpu_sr);
|
reg_config_param (sec, "sr", paramt_int, cpu_sr);
|
reg_config_param (sec, "superscalar", paramt_int, cpu_superscalar);
|
reg_config_param (sec, "superscalar", paramt_int, cpu_superscalar);
|
reg_config_param (sec, "hazards", paramt_int, cpu_hazards);
|
reg_config_param (sec, "hazards", paramt_int, cpu_hazards);
|
reg_config_param (sec, "dependstats", paramt_int, cpu_dependstats);
|
reg_config_param (sec, "dependstats", paramt_int, cpu_dependstats);
|
reg_config_param (sec, "sbuf_len", paramt_int, cpu_sbuf_len);
|
reg_config_param (sec, "sbuf_len", paramt_int, cpu_sbuf_len);
|
|
reg_config_param (sec, "hardfloat", paramt_int, cpu_hardfloat);
|
|
|
} /* reg_cpu_sec() */
|
} /* reg_cpu_sec() */
|
|
|
No newline at end of file
|
No newline at end of file
|