arch: Remove a couple of deprecated namespaces
These namespaces have gone through the deprecation period and can now be removed: X86Macroops, SMBios, RomLabels, DeliveryMode, ConditionTests. Change-Id: I6ff5e98319d92e27743a9fbeeab054497a2392e0 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67375 Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
committed by
Daniel Carvalho
parent
0bce2e56d9
commit
5a1414d782
@@ -61,7 +61,6 @@ struct X86SMBiosSMBiosTableParams;
|
||||
namespace X86ISA
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(SMBios, smbios);
|
||||
namespace smbios
|
||||
{
|
||||
|
||||
|
||||
@@ -55,7 +55,6 @@ namespace gem5
|
||||
namespace X86ISA
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(SMBios, smbios);
|
||||
namespace smbios
|
||||
{
|
||||
|
||||
|
||||
@@ -48,7 +48,6 @@ namespace gem5
|
||||
namespace X86ISA
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(ConditionTests, condition_tests);
|
||||
namespace condition_tests
|
||||
{
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ namespace X86ISA
|
||||
Bitfield<21> trigger;
|
||||
EndBitUnion(TriggerIntMessage)
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(DeliveryMode, delivery_mode);
|
||||
namespace delivery_mode
|
||||
{
|
||||
enum IntDeliveryMode
|
||||
|
||||
@@ -76,7 +76,6 @@ output header {{
|
||||
|
||||
// Basic instruction class declaration template.
|
||||
def template MacroDeclare {{
|
||||
GEM5_DEPRECATED_NAMESPACE(X86Macroop, x86_macroop);
|
||||
namespace x86_macroop
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -42,9 +42,7 @@ let {{
|
||||
|
||||
class X86MicrocodeRom(Rom):
|
||||
def getDeclaration(self):
|
||||
declareLabels = \
|
||||
"GEM5_DEPRECATED_NAMESPACE(RomLabels, rom_labels);\n"
|
||||
declareLabels += "namespace rom_labels\n{\n"
|
||||
declareLabels = "namespace rom_labels\n{\n"
|
||||
for (label, microop) in self.labels.items():
|
||||
declareLabels += "const static uint64_t label_%s = %d;\n" \
|
||||
% (label, microop.micropc)
|
||||
|
||||
Reference in New Issue
Block a user