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

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

#include "arch/alpha/registers.hh"
#include "base/misc.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, Request *req)
 
template<class XC >
void AlphaISA::handleLockedSnoopHit (XC *xc)
 
template<class XC >
bool AlphaISA::handleLockedWrite (XC *xc, Request *req, Addr cacheBlockMask)
 

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 Jun 9 2017 13:03:52 for gem5 by doxygen 1.8.6