35 #ifndef __TSUNAMI_PCHIP_HH__
36 #define __TSUNAMI_PCHIP_HH__
40 #include "params/TsunamiPChip.hh"
98 #endif // __TSUNAMI_PCHIP_HH__
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
uint64_t tba[4]
Translated Base Addresses.
uint64_t wsba[4]
Window Base addresses.
Configurable generic PCI host interface.
AddrRangeList getAddrRanges() const override
Every PIO device is obliged to provide an implementation that returns the address ranges the device r...
const Params * params() const
TsunamiPChipParams Params
uint64_t wsm[4]
Window masks.
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
TsunamiPChip(const Params *p)
Register the PChip with the mmu and init all wsba, wsm, and tba to 0.
uint64_t Tick
Tick count type.
A very simple implementation of the Tsunami PCI interface chips.
Declaration of top level class for the Tsunami chipset.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
Addr dmaAddr(const PciBusAddr &addr, Addr pci_addr) const override
Translate a PCI bus address to a memory address for DMA.
uint64_t pctl
Pchip control register.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
std::ostream CheckpointOut
const SimObjectParams * _params
Cached copy of the object parameters.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void serialize(CheckpointOut &cp) const override
Serialize an object.