diff options
Diffstat (limited to 'runtime/arch/context.h')
-rw-r--r-- | runtime/arch/context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/arch/context.h b/runtime/arch/context.h index 3d11178..83bbb11 100644 --- a/runtime/arch/context.h +++ b/runtime/arch/context.h @@ -49,6 +49,9 @@ class Context { // Set the program counter value virtual void SetPC(uintptr_t new_pc) = 0; + // Gets the given GPRs address. + virtual uintptr_t* GetGPRAddress(uint32_t reg) = 0; + // Read the given GPR virtual uintptr_t GetGPR(uint32_t reg) = 0; |