removed param_names.h include where not needed anymore

This commit is contained in:
Stanislav Shwartsman 2012-01-07 17:54:19 +00:00
parent 7defa74261
commit 9261b2fa14
5 changed files with 7 additions and 6 deletions

View File

@ -184,7 +184,7 @@ p4_prescott_celeron_336.o: p4_prescott_celeron_336.@CPP_SUFFIX@ ../../bochs.h \
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
../../param_names.h p4_prescott_celeron_336.h ../../cpu/cpuid.h
p4_prescott_celeron_336.h ../../cpu/cpuid.h
p4_willamette.o: p4_willamette.@CPP_SUFFIX@ ../../bochs.h ../../config.h \
../../osdep.h ../../bx_debug/debug.h ../../config.h ../../osdep.h \
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
@ -193,7 +193,7 @@ p4_willamette.o: p4_willamette.@CPP_SUFFIX@ ../../bochs.h ../../config.h \
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
../../param_names.h p4_willamette.h
p4_willamette.h
pentium_mmx.o: pentium_mmx.@CPP_SUFFIX@ ../../bochs.h ../../config.h ../../osdep.h \
../../bx_debug/debug.h ../../config.h ../../osdep.h \
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \

View File

@ -138,7 +138,11 @@ void core_duo_t2400_yonah_t::get_std_cpuid_leaf_0(cpuid_function_t *leaf) const
// EBX: vendor ID string
// EDX: vendor ID string
// ECX: vendor ID string
leaf->eax = 0xA;
static bx_bool cpuid_limit_winnt = SIM->get_param_bool(BXPN_CPUID_LIMIT_WINNT)->get();
if (cpuid_limit_winnt)
leaf->eax = 0x2;
else
leaf->eax = 0xA;
// CPUID vendor string (e.g. GenuineIntel, AuthenticAMD, CentaurHauls, ...)
memcpy(&(leaf->ebx), vendor_string, 4);

View File

@ -23,7 +23,6 @@
#include "bochs.h"
#include "cpu.h"
#include "param_names.h"
#include "p4_prescott_celeron_336.h"
#define LOG_THIS cpu->

View File

@ -23,7 +23,6 @@
#include "bochs.h"
#include "cpu.h"
#include "param_names.h"
#include "p4_willamette.h"
#define LOG_THIS cpu->

View File

@ -23,7 +23,6 @@
#include "bochs.h"
#include "cpu.h"
#include "param_names.h"
#include "turion64_tyler.h"
#define LOG_THIS cpu->