gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
locked_mem.hh File Reference

ISA-specific helper functions for locked memory accesses. More...

#include "arch/alpha/registers.hh"
#include "base/logging.hh"
#include "mem/packet.hh"
#include "mem/request.hh"

Go to the source code of this file.

Namespaces

 AlphaISA
 

Functions

template<class XC >
void AlphaISA::handleLockedSnoop (XC *xc, PacketPtr pkt, Addr cacheBlockMask)
 
template<class XC >
void AlphaISA::handleLockedRead (XC *xc, const RequestPtr &req)
 
template<class XC >
void AlphaISA::handleLockedSnoopHit (XC *xc)
 
template<class XC >
bool AlphaISA::handleLockedWrite (XC *xc, const RequestPtr &req, Addr cacheBlockMask)
 
template<class XC >
void AlphaISA::globalClearExclusive (XC *xc)
 

Detailed Description

ISA-specific helper functions for locked memory accesses.

Note that these functions are not embedded in the ISA description because they operate on the physical address rather than the virtual address. In the current M5 design, the physical address is not accessible from the ISA description, only from the CPU model. Thus the CPU is responsible for calling back to the ISA (here) after the address translation has been performed to allow the ISA to do these manipulations based on the physical address.

Definition in file locked_mem.hh.


Generated on Fri Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13