sim: remove unused MemoryModeStrings array

The System object has a static MemoryModeStrings array
that's (1) unused and (2) redundant, since there's an
auto-generated version in the Enums namespace.  No
point in leaving it in.
This commit is contained in:
Steve Reinhardt 2014-07-18 22:05:51 -07:00
parent e3de6950a4
commit fe530648d5
2 changed files with 0 additions and 5 deletions

View file

@ -462,9 +462,6 @@ System::getMasterName(MasterID master_id)
return masterIds[master_id];
}
const char *System::MemoryModeStrings[4] = {"invalid", "atomic", "timing",
"atomic_noncaching"};
System *
SystemParams::create()
{

View file

@ -121,8 +121,6 @@ class System : public MemObject
BaseMasterPort& getMasterPort(const std::string &if_name,
PortID idx = InvalidPortID);
static const char *MemoryModeStrings[4];
/** @{ */
/**
* Is the system in atomic mode?