gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
mmapped_ipr.hh File Reference

ISA-generic helper functions for memory mapped IPR accesses. More...

#include "base/types.hh"
#include "mem/packet.hh"

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...
 

Detailed Description

ISA-generic helper functions for memory mapped IPR accesses.

Definition in file mmapped_ipr.hh.


Generated on Fri Jun 9 2017 13:03:52 for gem5 by doxygen 1.8.6