From 91086d062749736f858b5812d90e5c41f1a41316 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sun, 14 Jun 2015 20:36:16 +0000 Subject: [PATCH] remove not relevant comments --- bochs/cpu/cpudb/atom_n270.cc | 7 +------ bochs/cpu/cpudb/broadwell_ult.cc | 6 ------ bochs/cpu/cpudb/core2_penryn_t9600.cc | 6 ------ bochs/cpu/cpudb/core_duo_t2400_yonah.cc | 6 ------ bochs/cpu/cpudb/corei5_arrandale_m520.cc | 6 ------ bochs/cpu/cpudb/corei5_lynnfield_750.cc | 7 +------ bochs/cpu/cpudb/corei7_haswell_4770.cc | 6 ------ bochs/cpu/cpudb/corei7_ivy_bridge_3770K.cc | 6 ------ bochs/cpu/cpudb/corei7_sandy_bridge_2600K.cc | 6 ------ 9 files changed, 2 insertions(+), 54 deletions(-) diff --git a/bochs/cpu/cpudb/atom_n270.cc b/bochs/cpu/cpudb/atom_n270.cc index 15c3fad11..2eedfbd41 100644 --- a/bochs/cpu/cpudb/atom_n270.cc +++ b/bochs/cpu/cpudb/atom_n270.cc @@ -432,12 +432,7 @@ void atom_n270_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) const leaf->ebx = 0x00000000; leaf->ecx = 0x00000000; leaf->edx = 0x00002501; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ + BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/broadwell_ult.cc b/bochs/cpu/cpudb/broadwell_ult.cc index 547974ce5..682958447 100644 --- a/bochs/cpu/cpudb/broadwell_ult.cc +++ b/bochs/cpu/cpudb/broadwell_ult.cc @@ -630,12 +630,6 @@ void broadwell_ult_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) const leaf->ebx = 0x00000000; leaf->ecx = 0x00000000; leaf->edx = 0x00000603; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/core2_penryn_t9600.cc b/bochs/cpu/cpudb/core2_penryn_t9600.cc index f979db9bd..17e54e2f9 100644 --- a/bochs/cpu/cpudb/core2_penryn_t9600.cc +++ b/bochs/cpu/cpudb/core2_penryn_t9600.cc @@ -485,12 +485,6 @@ void core2_penryn_t9600_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) const leaf->ebx = 0x00000000; leaf->ecx = 0x00000000; leaf->edx = 0x00000503; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/core_duo_t2400_yonah.cc b/bochs/cpu/cpudb/core_duo_t2400_yonah.cc index bc0b4e5d7..c4c6f4099 100644 --- a/bochs/cpu/cpudb/core_duo_t2400_yonah.cc +++ b/bochs/cpu/cpudb/core_duo_t2400_yonah.cc @@ -432,12 +432,6 @@ void core_duo_t2400_yonah_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) const leaf->ebx = 0x00000000; leaf->ecx = 0x00000000; leaf->edx = 0x00000000; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/corei5_arrandale_m520.cc b/bochs/cpu/cpudb/corei5_arrandale_m520.cc index be660fd4c..aaa59423d 100644 --- a/bochs/cpu/cpudb/corei5_arrandale_m520.cc +++ b/bochs/cpu/cpudb/corei5_arrandale_m520.cc @@ -509,12 +509,6 @@ void corei5_arrandale_m520_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) const leaf->ebx = 0x00000004; leaf->ecx = 0x00000000; leaf->edx = 0x00000603; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/corei5_lynnfield_750.cc b/bochs/cpu/cpudb/corei5_lynnfield_750.cc index c347d5ef6..d58ed616f 100644 --- a/bochs/cpu/cpudb/corei5_lynnfield_750.cc +++ b/bochs/cpu/cpudb/corei5_lynnfield_750.cc @@ -485,12 +485,7 @@ void corei5_lynnfield_750_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) const leaf->ebx = 0x00000044; leaf->ecx = 0x00000000; leaf->edx = 0x00000603; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ + BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/corei7_haswell_4770.cc b/bochs/cpu/cpudb/corei7_haswell_4770.cc index c7eb8019e..dd7a9a428 100644 --- a/bochs/cpu/cpudb/corei7_haswell_4770.cc +++ b/bochs/cpu/cpudb/corei7_haswell_4770.cc @@ -581,12 +581,6 @@ void corei7_haswell_4770_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) const leaf->ebx = 0x00000000; leaf->ecx = 0x00000000; leaf->edx = 0x00000603; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/corei7_ivy_bridge_3770K.cc b/bochs/cpu/cpudb/corei7_ivy_bridge_3770K.cc index 60e5fe4a2..eac82218b 100644 --- a/bochs/cpu/cpudb/corei7_ivy_bridge_3770K.cc +++ b/bochs/cpu/cpudb/corei7_ivy_bridge_3770K.cc @@ -577,12 +577,6 @@ void corei7_ivy_bridge_3770k_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) con leaf->ebx = 0x00000000; leaf->ecx = 0x00000000; leaf->edx = 0x00000603; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); } diff --git a/bochs/cpu/cpudb/corei7_sandy_bridge_2600K.cc b/bochs/cpu/cpudb/corei7_sandy_bridge_2600K.cc index cd1173cf1..260d9afbc 100644 --- a/bochs/cpu/cpudb/corei7_sandy_bridge_2600K.cc +++ b/bochs/cpu/cpudb/corei7_sandy_bridge_2600K.cc @@ -532,12 +532,6 @@ void corei7_sandy_bridge_2600k_t::get_std_cpuid_leaf_A(cpuid_function_t *leaf) c leaf->ebx = 0x00000000; leaf->ecx = 0x00000000; leaf->edx = 0x00000603; -/* - leaf->eax = 0; // reporting true capabilities without supporting it breaks Win7 x64 installation - leaf->ebx = 0; - leaf->ecx = 0; - leaf->edx = 0; -*/ BX_INFO(("WARNING: Architectural Performance Monitoring is not implemented")); }