kmi.cc (12664:4e4555947641) | kmi.cc (12772:362544959c40) |
---|---|
1/* 2 * Copyright (c) 2010, 2017-2018 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 38 unchanged lines hidden (view full) --- 47#include "base/vnc/vncinput.hh" 48#include "debug/Pl050.hh" 49#include "dev/arm/amba_device.hh" 50#include "dev/ps2/device.hh" 51#include "mem/packet.hh" 52#include "mem/packet_access.hh" 53 54Pl050::Pl050(const Pl050Params *p) | 1/* 2 * Copyright (c) 2010, 2017-2018 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 38 unchanged lines hidden (view full) --- 47#include "base/vnc/vncinput.hh" 48#include "debug/Pl050.hh" 49#include "dev/arm/amba_device.hh" 50#include "dev/ps2/device.hh" 51#include "mem/packet.hh" 52#include "mem/packet_access.hh" 53 54Pl050::Pl050(const Pl050Params *p) |
55 : AmbaIntDevice(p, 0xfff), control(0), status(0x43), clkdiv(0), | 55 : AmbaIntDevice(p, 0x1000), control(0), status(0x43), clkdiv(0), |
56 rawInterrupts(0), 57 ps2(p->ps2) 58{ 59 ps2->hostRegDataAvailable([this]() { this->updateRxInt(); }); 60} 61 62Tick 63Pl050::read(PacketPtr pkt) --- 167 unchanged lines hidden --- | 56 rawInterrupts(0), 57 ps2(p->ps2) 58{ 59 ps2->hostRegDataAvailable([this]() { this->updateRxInt(); }); 60} 61 62Tick 63Pl050::read(PacketPtr pkt) --- 167 unchanged lines hidden --- |