From 31a1d485afcda352b1a9fc4f63a79d38399e22be Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Sat, 14 Jan 2023 10:07:43 -0300 Subject: [PATCH] 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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67373 Tested-by: kokoro Reviewed-by: Richard Cooper Maintainer: Jason Lowe-Power --- src/arch/x86/bios/intelmp.hh | 1 - src/arch/x86/fs_workload.hh | 1 - src/sim/core.cc | 3 --- src/sim/core.hh | 3 --- src/sim/pseudo_inst.cc | 1 - src/sim/pseudo_inst.hh | 1 - 6 files changed, 10 deletions(-) diff --git a/src/arch/x86/bios/intelmp.hh b/src/arch/x86/bios/intelmp.hh index 19f2f7a9be..207b4ab61f 100644 --- a/src/arch/x86/bios/intelmp.hh +++ b/src/arch/x86/bios/intelmp.hh @@ -84,7 +84,6 @@ uint8_t writeOutString(PortProxy& proxy, Addr addr, std::string str, 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 b40b69b3c4..5c1187cda4 100644 --- a/src/arch/x86/fs_workload.hh +++ b/src/arch/x86/fs_workload.hh @@ -63,7 +63,6 @@ class SMBiosTable; } // namespace smbios -GEM5_DEPRECATED_NAMESPACE(IntelMP, intelmp); namespace intelmp { diff --git a/src/sim/core.cc b/src/sim/core.cc index c388652fa6..d836b550be 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 MHz; 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 bd432c2d21..bac4e40003 100644 --- a/src/sim/core.hh +++ b/src/sim/core.hh @@ -46,12 +46,10 @@ namespace gem5 /// 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 @@ extern double GHz; ///< GHz * * @{ */ -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 28b5619a16..55e44c7adc 100644 --- a/src/sim/pseudo_inst.cc +++ b/src/sim/pseudo_inst.cc @@ -76,7 +76,6 @@ namespace gem5 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 4794a41ffe..ba15370c55 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 {