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:
parent
e3de6950a4
commit
fe530648d5
2 changed files with 0 additions and 5 deletions
|
@ -462,9 +462,6 @@ System::getMasterName(MasterID master_id)
|
||||||
return masterIds[master_id];
|
return masterIds[master_id];
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *System::MemoryModeStrings[4] = {"invalid", "atomic", "timing",
|
|
||||||
"atomic_noncaching"};
|
|
||||||
|
|
||||||
System *
|
System *
|
||||||
SystemParams::create()
|
SystemParams::create()
|
||||||
{
|
{
|
||||||
|
|
|
@ -121,8 +121,6 @@ class System : public MemObject
|
||||||
BaseMasterPort& getMasterPort(const std::string &if_name,
|
BaseMasterPort& getMasterPort(const std::string &if_name,
|
||||||
PortID idx = InvalidPortID);
|
PortID idx = InvalidPortID);
|
||||||
|
|
||||||
static const char *MemoryModeStrings[4];
|
|
||||||
|
|
||||||
/** @{ */
|
/** @{ */
|
||||||
/**
|
/**
|
||||||
* Is the system in atomic mode?
|
* Is the system in atomic mode?
|
||||||
|
|
Loading…
Reference in a new issue