Merge pull request #32 from julienfreche/jfreche/cpudb_string_size
cpudb: extend strings that are too small
This commit is contained in:
commit
9edcaf8697
@ -72,7 +72,7 @@ turion64_tyler_t::turion64_tyler_t(BX_CPU_C *cpu): bx_cpuid_t(cpu)
|
||||
|
||||
void turion64_tyler_t::get_cpuid_leaf(Bit32u function, Bit32u subfunction, cpuid_function_t *leaf) const
|
||||
{
|
||||
static const char* brand_string = "AMD Turion(tm) 64 X2 Mobile Technology TL-60";
|
||||
static const char* brand_string = "AMD Turion(tm) 64 X2 Mobile Technology TL-60\0\0\0";
|
||||
|
||||
switch(function) {
|
||||
case 0x80000000:
|
||||
|
@ -134,7 +134,7 @@ corei7_icelake_t::corei7_icelake_t(BX_CPU_C *cpu):
|
||||
|
||||
void corei7_icelake_t::get_cpuid_leaf(Bit32u function, Bit32u subfunction, cpuid_function_t *leaf) const
|
||||
{
|
||||
static const char* brand_string = "QuadCore Intel Core i7-1065G7, 1300 MHz\0\0\0\0\0\0\0";
|
||||
static const char* brand_string = "QuadCore Intel Core i7-1065G7, 1300 MHz\0\0\0\0\0\0\0\0";
|
||||
|
||||
static bool cpuid_limit_winnt = SIM->get_param_bool(BXPN_CPUID_LIMIT_WINNT)->get();
|
||||
if (cpuid_limit_winnt)
|
||||
|
@ -138,7 +138,7 @@ tigerlake_t::tigerlake_t(BX_CPU_C *cpu):
|
||||
|
||||
void tigerlake_t::get_cpuid_leaf(Bit32u function, Bit32u subfunction, cpuid_function_t *leaf) const
|
||||
{
|
||||
static const char* brand_string = "11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz";
|
||||
static const char* brand_string = "11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz\0";
|
||||
|
||||
static bool cpuid_limit_winnt = SIM->get_param_bool(BXPN_CPUID_LIMIT_WINNT)->get();
|
||||
if (cpuid_limit_winnt)
|
||||
|
Loading…
Reference in New Issue
Block a user