#include "mem/packet_access.hh"
AmbaFake::AmbaFake(const Params *p)
- : AmbaPioDevice(p, 0xfff)
+ : AmbaPioDevice(p, 0x1000)
{
}
#include "mem/packet_access.hh"
Pl050::Pl050(const Pl050Params *p)
- : AmbaIntDevice(p, 0xfff), control(0), status(0x43), clkdiv(0),
+ : AmbaIntDevice(p, 0x1000), control(0), status(0x43), clkdiv(0),
rawInterrupts(0),
ps2(p->ps2)
{
#include "sim/sim_exit.hh"
Pl011::Pl011(const Pl011Params *p)
- : Uart(p, 0xfff),
+ : Uart(p, 0x1000),
intEvent([this]{ generateInterrupt(); }, name()),
control(0x300), fbrd(0), ibrd(0), lcrh(0), ifls(0x12),
imsc(0), rawInt(0),
#include "mem/packet_access.hh"
PL031::PL031(Params *p)
- : AmbaIntDevice(p, 0xfff), timeVal(mkutctime(&p->time)),
+ : AmbaIntDevice(p, 0x1000), timeVal(mkutctime(&p->time)),
lastWrittenTick(0), loadVal(0), matchVal(0),
rawInt(false), maskInt(false), pendingInt(false),
matchEvent([this]{ counterMatch(); }, name())
#include "mem/packet_access.hh"
Sp804::Sp804(Params *p)
- : AmbaPioDevice(p, 0xfff), gic(p->gic),
+ : AmbaPioDevice(p, 0x1000), gic(p->gic),
timer0(name() + ".timer0", this, p->int_num0, p->clock0),
timer1(name() + ".timer1", this, p->int_num1, p->clock1)
{
* http://infocenter.arm.com/help/topic/com.arm.doc.dui0440b/Bbajihec.html
*/
I2CBus::I2CBus(const I2CBusParams *p)
- : BasicPioDevice(p, 0xfff), scl(1), sda(1), state(IDLE), currBit(7),
+ : BasicPioDevice(p, 0x1000), scl(1), sda(1), state(IDLE), currBit(7),
i2cAddr(0x00), message(0x00)
{
vector<I2CDevice*> devs = p->devices;