gem5 v24.1.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Typedefs | Functions
thread_context.hh File Reference
#include <iostream>
#include <string>
#include "arch/generic/htm.hh"
#include "arch/generic/isa.hh"
#include "arch/generic/pcstate.hh"
#include "base/types.hh"
#include "cpu/pc_event.hh"
#include "cpu/reg_class.hh"

Go to the source code of this file.

Classes

class  gem5::ThreadContext
 ThreadContext is the external interface to all thread state for anything outside of the CPU. More...
 

Namespaces

namespace  gem5
 Copyright (c) 2024 Arm Limited All rights reserved.
 

Typedefs

using gem5::PacketPtr = Packet *
 

Functions

void gem5::takeOverFrom (ThreadContext &new_tc, ThreadContext &old_tc)
 Copy state between thread contexts in preparation for CPU handover.
 
void gem5::serialize (const ThreadContext &tc, CheckpointOut &cp)
 Thread context serialization helpers.
 
void gem5::unserialize (ThreadContext &tc, CheckpointIn &cp)
 

Generated on Mon Jan 13 2025 04:28:45 for gem5 by doxygen 1.9.8