gem5
|
ISA-generic helper functions for memory mapped IPR accesses. More...
Go to the source code of this file.
Namespaces | |
GenericISA | |
Functions | |
Addr | GenericISA::iprAddressPseudoInst (uint8_t func, uint8_t subfunc) |
Generate a generic IPR address that emulates a pseudo inst. More... | |
bool | GenericISA::isGenericIprAccess (const Packet *pkt) |
Check if this is an platform independent IPR access. More... | |
Cycles | GenericISA::handleGenericIprRead (ThreadContext *xc, Packet *pkt) |
Handle generic IPR reads. More... | |
Cycles | GenericISA::handleGenericIprWrite (ThreadContext *xc, Packet *pkt) |
Handle generic IPR writes. More... | |
Cycles | GenericISA::handleIprRead (ThreadContext *xc, Packet *pkt) |
Helper function to handle IPRs when the target architecture doesn't need its own IPR handling. More... | |
Cycles | GenericISA::handleIprWrite (ThreadContext *xc, Packet *pkt) |
Helper function to handle IPRs when the target architecture doesn't need its own IPR handling. More... | |
Variables | |
const int | GenericISA::IPR_CLASS_SHIFT = 48 |
Memory requests with the MMAPPED_IPR flag are generally mapped to registers. More... | |
const Addr | GenericISA::IPR_IN_CLASS_MASK = ULL(0x0000FFFFFFFFFFFF) |
Mask to extract the offset in within a generic IPR class. More... | |
const Addr | GenericISA::IPR_CLASS_PSEUDO_INST = 0x0 |
gem5 pseudo-inst emulation. More... | |
ISA-generic helper functions for memory mapped IPR accesses.
Definition in file mmapped_ipr.hh.