32#ifndef __DEV_GPU_SYSTEM_HUB_HH__
33#define __DEV_GPU_SYSTEM_HUB_HH__
36#include "params/AMDGPUSystemHub.hh"
AMDGPUSystemHub & systemHub
AtomicResponseEvent(AMDGPUSystemHub &_hub, Event *_callback, PacketPtr _pkt)
ResponseEvent(AMDGPUSystemHub &_hub, Event *_callback, PacketPtr _pkt)
AMDGPUSystemHub & systemHub
This class handles reads from the system/host memory space from the shader.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
std::list< DeferredReq > DeferredReqList
AMDGPUSystemHub(const AMDGPUSystemHubParams &p)
void sendRequest(PacketPtr pkt, Event *callback)
AddrRangeList getAddrRanges() const override
Every PIO device is obliged to provide an implementation that returns the address ranges the device r...
void sendDeferredRequest(DeferredReq &deferredReq)
void dmaResponse(PacketPtr pkt)
Tick write(PacketPtr pkt) override
Inherited methods.
void sendNextRequest(Addr addr, const PacketPtr donePkt)
std::pair< PacketPtr, Event * > DeferredReq
std::unordered_map< Addr, DeferredReqList > outstandingReqs
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint64_t Tick
Tick count type.