Add support for multiple address ranges in memory interfaces.
dev/alpha_console.cc:
setAddrRange -> addAddrRange
--HG--
extra : convert_revision : 9dc853b80bea443b54a130ca4c110a68077cb336
This commit is contained in:
@@ -63,7 +63,7 @@ AlphaConsole::AlphaConsole(const string &name, SimConsole *cons, SimpleDisk *d,
|
||||
if (bus) {
|
||||
pioInterface = newPioInterface(name, hier, bus, this,
|
||||
&AlphaConsole::cacheAccess);
|
||||
pioInterface->setAddrRange(addr, addr + size);
|
||||
pioInterface->addAddrRange(addr, addr + size);
|
||||
}
|
||||
|
||||
consoleData = new uint8_t[size];
|
||||
|
||||
Reference in New Issue
Block a user