gem5 v24.0.0.0
Loading...
Searching...
No Matches
mt.hh File Reference

ISA-specific helper functions for multithreaded execution. More...

#include <iostream>
#include "arch/mips/faults.hh"
#include "arch/mips/mt_constants.hh"
#include "arch/mips/pcstate.hh"
#include "arch/mips/pra_constants.hh"
#include "arch/mips/regs/int.hh"
#include "arch/mips/regs/misc.hh"
#include "base/bitfield.hh"
#include "base/logging.hh"
#include "base/trace.hh"
#include "cpu/exec_context.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::MipsISA
 

Functions

static RegVal gem5::MipsISA::readRegOtherThread (ThreadContext *tc, const RegId &reg, ThreadID tid=InvalidThreadID)
 
static void gem5::MipsISA::setRegOtherThread (ThreadContext *tc, const RegId &reg, RegVal val, ThreadID tid=InvalidThreadID)
 
static RegVal gem5::MipsISA::readRegOtherThread (ExecContext *xc, const RegId &reg, ThreadID tid=InvalidThreadID)
 
static void gem5::MipsISA::setRegOtherThread (ExecContext *xc, const RegId &reg, RegVal val, ThreadID tid=InvalidThreadID)
 
template<class TC >
unsigned gem5::MipsISA::getVirtProcNum (TC *tc)
 
template<class TC >
unsigned gem5::MipsISA::getTargetThread (TC *tc)
 
template<class TC >
void gem5::MipsISA::haltThread (TC *tc)
 
template<class TC >
void gem5::MipsISA::restoreThread (TC *tc)
 
template<class TC >
void gem5::MipsISA::forkThread (TC *tc, Fault &fault, int Rd_bits, int Rs, int Rt)
 
template<class TC >
int gem5::MipsISA::yieldThread (TC *tc, Fault &fault, int src_reg, uint32_t yield_mask)
 
template<class TC >
void gem5::MipsISA::updateStatusView (TC *tc)
 
template<class TC >
void gem5::MipsISA::updateTCStatusView (TC *tc)
 

Detailed Description

ISA-specific helper functions for multithreaded execution.

Definition in file mt.hh.


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