FreeNOS
Data Fields
CPUState Struct Reference

Contains all the CPU registers. More...

#include <ARMCore.h>

Data Fields

u32 padding [4]
 
u32 cpsr
 
u32 sp
 
u32 lr
 
u32 r0
 
u32 r1
 
u32 r2
 
u32 r3
 
u32 r4
 
u32 r5
 
u32 r6
 
u32 r7
 
u32 r8
 
u32 r9
 
u32 r10
 
u32 r11
 
u32 r12
 
u32 pc
 
SegRegs seg
 
CPURegs regs
 
u32 vector
 
u32 error
 
IRQRegs3 irq
 

Detailed Description

Contains all the CPU registers.

Definition at line 243 of file ARMCore.h.

Field Documentation

◆ cpsr

u32 CPUState::cpsr

Definition at line 246 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMProcess::reset().

◆ error

u32 CPUState::error

Definition at line 247 of file IntelCore.h.

Referenced by IntelCore::logException().

◆ irq

IRQRegs3 CPUState::irq

Definition at line 250 of file IntelCore.h.

Referenced by IntelCore::logState(), and IntelProcess::reset().

◆ lr

u32 CPUState::lr

Definition at line 247 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ padding

u32 CPUState::padding[4]

Definition at line 245 of file ARMCore.h.

Referenced by ARMProcess::execute().

◆ pc

u32 CPUState::pc

Definition at line 249 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMProcess::reset().

◆ r0

u32 CPUState::r0

Definition at line 248 of file ARMCore.h.

Referenced by ARMProcess::join(), ARMCore::logState(), and ARMKernel::trap().

◆ r1

u32 CPUState::r1

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMKernel::trap().

◆ r10

u32 CPUState::r10

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ r11

u32 CPUState::r11

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ r12

u32 CPUState::r12

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ r2

u32 CPUState::r2

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMKernel::trap().

◆ r3

u32 CPUState::r3

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMKernel::trap().

◆ r4

u32 CPUState::r4

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMKernel::trap().

◆ r5

u32 CPUState::r5

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMKernel::trap().

◆ r6

u32 CPUState::r6

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ r7

u32 CPUState::r7

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ r8

u32 CPUState::r8

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ r9

u32 CPUState::r9

Definition at line 248 of file ARMCore.h.

Referenced by ARMCore::logState().

◆ regs

CPURegs CPUState::regs

Definition at line 244 of file IntelCore.h.

Referenced by IntelCore::logState(), IntelProcess::reset(), and IntelKernel::trap().

◆ seg

SegRegs CPUState::seg

Definition at line 241 of file IntelCore.h.

Referenced by IntelProcess::reset().

◆ sp

u32 CPUState::sp

Definition at line 247 of file ARMCore.h.

Referenced by ARMCore::logState(), and ARMProcess::reset().

◆ vector

u32 CPUState::vector

Definition at line 247 of file IntelCore.h.

Referenced by executeInterrupt(), IntelKernel::interrupt(), and IntelCore::logException().


The documentation for this struct was generated from the following files: