summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h5
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{};