gem5 v24.0.0.0
Loading...
Searching...
No Matches
memhelpers.hh File Reference
#include <array>
#include "base/types.hh"
#include "cpu/exec_context.hh"
#include "sim/byteswap.hh"
#include "sim/insttracer.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 
namespace  gem5::X86ISA
 This is exposed globally, independent of the ISA.
 

Functions

static Fault gem5::X86ISA::initiateMemRead (ExecContext *xc, trace::InstRecord *traceData, Addr addr, unsigned dataSize, Request::Flags flags)
 Initiate a read from memory in timing mode.
 
static void gem5::X86ISA::getMem (PacketPtr pkt, uint64_t &mem, unsigned dataSize, trace::InstRecord *traceData)
 
template<typename T , size_t N>
static void gem5::X86ISA::getPackedMem (PacketPtr pkt, std::array< uint64_t, N > &mem, unsigned dataSize)
 
template<size_t N>
static void gem5::X86ISA::getMem (PacketPtr pkt, std::array< uint64_t, N > &mem, unsigned dataSize, trace::InstRecord *traceData)
 
static Fault gem5::X86ISA::readMemAtomic (ExecContext *xc, trace::InstRecord *traceData, Addr addr, uint64_t &mem, unsigned dataSize, Request::Flags flags)
 
template<typename T , size_t N>
static Fault gem5::X86ISA::readPackedMemAtomic (ExecContext *xc, Addr addr, std::array< uint64_t, N > &mem, unsigned flags)
 
template<size_t N>
static Fault gem5::X86ISA::readMemAtomic (ExecContext *xc, trace::InstRecord *traceData, Addr addr, std::array< uint64_t, N > &mem, unsigned dataSize, unsigned flags)
 
template<typename T , size_t N>
static Fault gem5::X86ISA::writePackedMem (ExecContext *xc, std::array< uint64_t, N > &mem, Addr addr, unsigned flags, uint64_t *res)
 
static Fault gem5::X86ISA::writeMemTiming (ExecContext *xc, trace::InstRecord *traceData, uint64_t mem, unsigned dataSize, Addr addr, Request::Flags flags, uint64_t *res)
 
template<size_t N>
static Fault gem5::X86ISA::writeMemTiming (ExecContext *xc, trace::InstRecord *traceData, std::array< uint64_t, N > &mem, unsigned dataSize, Addr addr, unsigned flags, uint64_t *res)
 
static Fault gem5::X86ISA::writeMemAtomic (ExecContext *xc, trace::InstRecord *traceData, uint64_t mem, unsigned dataSize, Addr addr, Request::Flags flags, uint64_t *res)
 
template<size_t N>
static Fault gem5::X86ISA::writeMemAtomic (ExecContext *xc, trace::InstRecord *traceData, std::array< uint64_t, N > &mem, unsigned dataSize, Addr addr, unsigned flags, uint64_t *res)
 

Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0