Go to the documentation of this file.
28 #ifndef __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
29 #define __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
31 #pragma GCC diagnostic push
32 #pragma GCC diagnostic ignored "-Woverloaded-virtual"
34 #pragma GCC diagnostic pop
40 #include "params/FastModelGIC.hh"
41 #include "params/SCFastModelGIC.hh"
42 #include "scx_evs_GIC.h"
58 class SCGIC :
public scx_evs_GIC
67 public svp_gicv3_comms::gicv3_comms_fw_if
71 svp_gicv3_comms::gicv3_comms_initiator_socket<>>
Initiators;
73 svp_gicv3_comms::gicv3_comms_target_socket<>>
Targets;
100 scx_evs_GIC::end_of_elaboration();
101 scx_evs_GIC::start_of_simulation();
114 64, svp_gicv3_comms::gicv3_comms_fw_if,
115 svp_gicv3_comms::gicv3_comms_bw_if, 1,
130 void sendInt(uint32_t num)
override;
131 void clearInt(uint32_t num)
override;
133 void sendPPInt(uint32_t num, uint32_t cpu)
override;
134 void clearPPInt(uint32_t num, uint32_t cpu)
override;
146 #endif // __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
sc_core::sc_vector< svp_gicv3_comms::gicv3_comms_target_socket<> > Targets
SCGIC(const SCFastModelGICParams &p)
void start_of_simulation() override
sc_core::sc_vector< svp_gicv3_comms::gicv3_comms_initiator_socket<> > Initiators
void sendInt(uint32_t num) override
Post an interrupt from a device that is connected to the GIC.
std::list< AddrRange > AddrRangeList
Convenience typedef for a collection of address ranges.
void before_end_of_elaboration() override
SignalInterruptInitiatorSocket signalInterrupt
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
const PortID InvalidPortID
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
void sendPPInt(uint32_t num, uint32_t cpu) override
Interface call for private peripheral interrupts.
void clearInt(uint32_t num) override
Clear an interrupt from a device that is connected to the GIC.
bool supportsVersion(GicVersion version) override
Check if version supported.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint64_t Tick
Tick count type.
const Params & params() const
std::vector< std::unique_ptr< TlmGicInitiator > > redistributors
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
AddrRangeList getAddrRanges() const override
Every PIO device is obliged to provide an implementation that returns the address ranges the device r...
const std::string & name()
GIC(const FastModelGICParams ¶ms)
void end_of_elaboration() override
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
static int countUnbound(const Initiators &inits)
Ports are used to interface objects to each other.
Terminator(sc_core::sc_module_name _name, Initiators &inits)
sc_gem5::TlmInitiatorBaseWrapper< 64, svp_gicv3_comms::gicv3_comms_fw_if, svp_gicv3_comms::gicv3_comms_bw_if, 1, sc_core::SC_ONE_OR_MORE_BOUND > TlmGicInitiator
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
void sendTowardsCPU(uint8_t len, const uint8_t *data) override
std::unique_ptr< Terminator > terminator
void clearPPInt(uint32_t num, uint32_t cpu) override
const SCFastModelGICParams & _params
Generated on Tue Dec 21 2021 11:34:19 for gem5 by doxygen 1.8.17