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:
Erik Hallnor
2004-02-29 16:18:49 -05:00
parent 27960f6d85
commit b491bda241

View File

@@ -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];