diff options
author | bunnei <bunneidev@gmail.com> | 2017-08-29 03:09:42 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-09-30 20:28:53 +0200 |
commit | 3411883fe32786c08bbdb28fd35e0b39a420be41 (patch) | |
tree | 5d041dd65fcc20f2b8226f70b718a9c72e0bae5a /src/core/arm/arm_interface.h | |
parent | elf: Check if machine is ARM. (diff) | |
download | yuzu-3411883fe32786c08bbdb28fd35e0b39a420be41.tar yuzu-3411883fe32786c08bbdb28fd35e0b39a420be41.tar.gz yuzu-3411883fe32786c08bbdb28fd35e0b39a420be41.tar.bz2 yuzu-3411883fe32786c08bbdb28fd35e0b39a420be41.tar.lz yuzu-3411883fe32786c08bbdb28fd35e0b39a420be41.tar.xz yuzu-3411883fe32786c08bbdb28fd35e0b39a420be41.tar.zst yuzu-3411883fe32786c08bbdb28fd35e0b39a420be41.zip |
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r-- | src/core/arm/arm_interface.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index ccd43f431..b52228476 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -14,14 +14,14 @@ public: virtual ~ARM_Interface() {} struct ThreadContext { - u32 cpu_registers[13]; - u32 sp; - u32 lr; - u32 pc; - u32 cpsr; - u32 fpu_registers[64]; - u32 fpscr; - u32 fpexc; + u64 cpu_registers[30]; + u64 lr; + u64 sp; + u64 pc; + u64 cpsr; + u64 fpu_registers[64]; + u64 fpscr; + u64 fpexc; }; /** @@ -45,27 +45,27 @@ public: * Set the Program Counter to an address * @param addr Address to set PC to */ - virtual void SetPC(u32 addr) = 0; + virtual void SetPC(u64 addr) = 0; /* * Get the current Program Counter * @return Returns current PC */ - virtual u32 GetPC() const = 0; + virtual u64 GetPC() const = 0; /** * Get an ARM register - * @param index Register index (0-15) + * @param index Register index * @return Returns the value in the register */ - virtual u32 GetReg(int index) const = 0; + virtual u64 GetReg(int index) const = 0; /** * Set an ARM register - * @param index Register index (0-15) + * @param index Register index * @param value Value to set register to */ - virtual void SetReg(int index, u32 value) = 0; + virtual void SetReg(int index, u64 value) = 0; /** * Gets the value of a VFP register |