Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/67373?usp=email )
Change subject: sim: Remove a couple of deprecated namespaces
......................................................................
sim: Remove a couple of deprecated namespaces
These namespaces have gone through the deprecation period
and can now be removed: Int, Float, SimClock, PseudoInst
Change-Id: Iec8e0fff021d8d7696e466e2ad52f2d51305d811
Signed-off-by: Daniel R. Carvalho <oda...@yahoo.com.br>
---
M src/arch/x86/bios/intelmp.hh
M src/arch/x86/fs_workload.hh
M src/sim/core.cc
M src/sim/core.hh
M src/sim/pseudo_inst.cc
M src/sim/pseudo_inst.hh
6 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/src/arch/x86/bios/intelmp.hh b/src/arch/x86/bios/intelmp.hh
index 19f2f7a..207b4ab 100644
--- a/src/arch/x86/bios/intelmp.hh
+++ b/src/arch/x86/bios/intelmp.hh
@@ -84,7 +84,6 @@
namespace X86ISA
{
-GEM5_DEPRECATED_NAMESPACE(IntelMP, intelmp);
namespace intelmp
{
diff --git a/src/arch/x86/fs_workload.hh b/src/arch/x86/fs_workload.hh
index b40b69b..5c1187c 100644
--- a/src/arch/x86/fs_workload.hh
+++ b/src/arch/x86/fs_workload.hh
@@ -63,7 +63,6 @@
} // namespace smbios
-GEM5_DEPRECATED_NAMESPACE(IntelMP, intelmp);
namespace intelmp
{
diff --git a/src/sim/core.cc b/src/sim/core.cc
index c388652..d836b55 100644
--- a/src/sim/core.cc
+++ b/src/sim/core.cc
@@ -41,13 +41,11 @@
namespace gem5
{
-GEM5_DEPRECATED_NAMESPACE(SimClock, sim_clock);
namespace sim_clock
{
/// The simulated frequency of curTick(). (In ticks per second)
Tick Frequency;
-GEM5_DEPRECATED_NAMESPACE(Float, as_float);
namespace as_float
{
double s;
@@ -62,7 +60,6 @@
double GHz;
} // namespace as_float
-GEM5_DEPRECATED_NAMESPACE(Int, as_int);
namespace as_int
{
Tick s;
diff --git a/src/sim/core.hh b/src/sim/core.hh
index bd432c2..bac4e40 100644
--- a/src/sim/core.hh
+++ b/src/sim/core.hh
@@ -46,12 +46,10 @@
/// These are variables that are set based on the simulator frequency
///@{
-GEM5_DEPRECATED_NAMESPACE(SimClock, sim_clock);
namespace sim_clock
{
extern Tick Frequency; ///< The number of ticks that equal one second
-GEM5_DEPRECATED_NAMESPACE(Float, as_float);
namespace as_float
{
@@ -81,7 +79,6 @@
*
* @{
*/
-GEM5_DEPRECATED_NAMESPACE(Int, as_int);
namespace as_int
{
extern Tick s; ///< second
diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc
index 28b5619..55e44c7 100644
--- a/src/sim/pseudo_inst.cc
+++ b/src/sim/pseudo_inst.cc
@@ -76,7 +76,6 @@
using namespace statistics;
-GEM5_DEPRECATED_NAMESPACE(PseudoInst, pseudo_inst);
namespace pseudo_inst
{
diff --git a/src/sim/pseudo_inst.hh b/src/sim/pseudo_inst.hh
index 4794a41..ba15370 100644
--- a/src/sim/pseudo_inst.hh
+++ b/src/sim/pseudo_inst.hh
@@ -55,7 +55,6 @@
namespace gem5
{
-GEM5_DEPRECATED_NAMESPACE(PseudoInst, pseudo_inst);
namespace pseudo_inst
{
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/67373?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Iec8e0fff021d8d7696e466e2ad52f2d51305d811
Gerrit-Change-Number: 67373
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <oda...@yahoo.com.br>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org