20 #ifndef KERNEL_PROCESSOR_ARMV7_STATE_H 21 #define KERNEL_PROCESSOR_ARMV7_STATE_H 23 #include "pedigree/kernel/compiler.h" 24 #include "pedigree/kernel/processor/types.h" 61 processor_register_t
getRegister(
size_t index)
const;
92 inline void setSyscallReturnValue(uintptr_t val);
172 m_pc = instructionPointer;
196 asm volatile(
"mrs %0, cpsr" :
"=r"(cpsr));
197 return ((cpsr & 0x1F) != 0x10);
219 void ARMV7InterruptState::setSyscallReturnValue(uintptr_t val)
size_t getRegisterSize(size_t index) const
void setInstructionPointer(uintptr_t instructionPointer)
void setStackPointer(uintptr_t stackPointer)
ARMV7InterruptState & operator=(const ARMV7InterruptState &)
const char * getRegisterName(size_t index) const
processor_register_t getRegister(size_t index) const
void setBasePointer(uintptr_t basePointer)
uintptr_t getStackPointer() const
size_t getSyscallService() const
size_t getInterruptNumber() const
uintptr_t getBasePointer() const
uintptr_t getInstructionPointer() const
uintptr_t getSyscallParameter(size_t n) const
size_t getSyscallNumber() const
size_t getRegisterCount() const