42#ifndef __ARCH_RISCV_PCSTATE_HH__
43#define __ARCH_RISCV_PCSTATE_HH__
47#include "enums/PrivilegeModeSet.hh"
48#include "enums/RiscvType.hh"
56constexpr enums::RiscvType
RV32 = enums::RV32;
57constexpr enums::RiscvType
RV64 = enums::RV64;
virtual bool equals(const PCStateBase &other) const
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void serialize(CheckpointOut &cp) const override
Serialize an object.
virtual void update(const PCStateBase &other)
void update(const PCStateBase &other) override
bool branching() const override
bool equals(const PCStateBase &other) const override
PCState(Addr addr, RiscvType rvType, uint64_t vlenb)
PCState(const PCState &other)
void serialize(CheckpointOut &cp) const override
Serialize an object.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
PCState & operator=(const PCState &other)=default
PCStateBase * clone() const override
GenericISA::UPCState< 4 > Base
void rvType(RiscvType rvType)
constexpr enums::RiscvType RV32
enums::PrivilegeModeSet PrivilegeModeSet
enums::RiscvType RiscvType
constexpr enums::RiscvType RV64
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ostream CheckpointOut
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
#define UNSERIALIZE_SCALAR(scalar)
#define SERIALIZE_SCALAR(scalar)