diff options
| author | 2020-06-19 19:40:07 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:36:27 -0400 | |
| commit | 4105f38022a525aab2e7d4288f121b4f0a0dd7b2 (patch) | |
| tree | 3cf68e47fcc17442111b8af16a3fff19b3f3434f /src/core/arm/arm_interface.h | |
| parent | SVC: Add GetCurrentProcessorNumber32, CreateTransferMemory32, SetMemoryAttrib... (diff) | |
| download | yuzu-4105f38022a525aab2e7d4288f121b4f0a0dd7b2.tar.gz yuzu-4105f38022a525aab2e7d4288f121b4f0a0dd7b2.tar.xz yuzu-4105f38022a525aab2e7d4288f121b4f0a0dd7b2.zip | |
SVC: Implement 32-bits wrappers and update Dynarmic.
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index fbdce4134..0c1d6ac39 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h | |||
| @@ -33,16 +33,15 @@ public: | |||
| 33 | 33 | ||
| 34 | struct ThreadContext32 { | 34 | struct ThreadContext32 { |
| 35 | std::array<u32, 16> cpu_registers{}; | 35 | std::array<u32, 16> cpu_registers{}; |
| 36 | std::array<u32, 64> extension_registers{}; | ||
| 36 | u32 cpsr{}; | 37 | u32 cpsr{}; |
| 37 | std::array<u8, 4> padding{}; | ||
| 38 | std::array<u64, 32> fprs{}; | ||
| 39 | u32 fpscr{}; | 38 | u32 fpscr{}; |
| 40 | u32 fpexc{}; | 39 | u32 fpexc{}; |
| 41 | u32 tpidr{}; | 40 | u32 tpidr{}; |
| 42 | }; | 41 | }; |
| 43 | // Internally within the kernel, it expects the AArch32 version of the | 42 | // Internally within the kernel, it expects the AArch32 version of the |
| 44 | // thread context to be 344 bytes in size. | 43 | // thread context to be 344 bytes in size. |
| 45 | static_assert(sizeof(ThreadContext32) == 0x158); | 44 | static_assert(sizeof(ThreadContext32) == 0x150); |
| 46 | 45 | ||
| 47 | struct ThreadContext64 { | 46 | struct ThreadContext64 { |
| 48 | std::array<u64, 31> cpu_registers{}; | 47 | std::array<u64, 31> cpu_registers{}; |