29#ifndef __ARCH_SPARC_REGS_MISC_HH__
30#define __ARCH_SPARC_REGS_MISC_HH__
35#include "debug/MiscRegs.hh"
158 const static int st_idle = 0x00;
159 const static int st_wait = 0x01;
160 const static int st_halt = 0x02;
161 const static int st_run = 0x05;
162 const static int st_spec_run = 0x07;
163 const static int st_spec_rdy = 0x13;
164 const static int st_ready = 0x19;
165 const static int active = 0x01;
166 const static int speculative = 0x04;
167 const static int shft_id = 8;
168 const static int shft_fsm0 = 31;
169 const static int shft_fsm1 = 26;
170 const static int shft_fsm2 = 21;
171 const static int shft_fsm3 = 16;
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
#define BitUnion64(name)
Use this to define conveniently sized values overlayed with bitfields.
#define EndBitUnion(name)
This closes off the class and union started by the above macro.
#define SubBitUnion(name, first, last)
Regular bitfields These define macros for read/write regular bitfield based subbitfields.
#define EndSubBitUnion(name)
This closes off the union created above and gives it a name.
constexpr RegClass miscRegClass
@ MISCREG_QUEUE_RES_ERROR_HEAD
@ MISCREG_HPSTATE
Hyper privileged registers.
@ MISCREG_SCRATCHPAD_R0
Scratchpad regiscers.
@ MISCREG_MMU_P_CONTEXT
MMU Internal Registers.
@ MISCREG_QUEUE_DEV_MONDO_TAIL
@ MISCREG_QUEUE_CPU_MONDO_HEAD
@ MISCREG_QUEUE_NRES_ERROR_TAIL
@ MISCREG_ASI
Ancillary State Registers.
@ MISCREG_QUEUE_CPU_MONDO_TAIL
@ MISCREG_QUEUE_DEV_MONDO_HEAD
@ MISCREG_FSR
Floating Point Status Register.
@ MISCREG_TPC
Privilged Registers.
@ MISCREG_QUEUE_RES_ERROR_TAIL
@ MISCREG_QUEUE_NRES_ERROR_HEAD
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
constexpr char MiscRegClassName[]
@ MiscRegClass
Control (misc) register.