From fd9378754d8a285b0725732e0cdb9d3672d149e8 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 8 May 2018 18:28:52 -0600 Subject: [PATCH] Fix asm error in svcGetResourceLimit*Value --- nx/source/kernel/svc.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx/source/kernel/svc.s b/nx/source/kernel/svc.s index 41d308c0..cc89eeb7 100644 --- a/nx/source/kernel/svc.s +++ b/nx/source/kernel/svc.s @@ -243,7 +243,7 @@ SVC_BEGIN svcGetResourceLimitLimitValue str x0, [sp, #-16]! svc 0x30 ldr x2, [sp], #16 - str w1, [x2] + str x1, [x2] ret SVC_END @@ -251,7 +251,7 @@ SVC_BEGIN svcGetResourceLimitCurrentValue str x0, [sp, #-16]! svc 0x31 ldr x2, [sp], #16 - str w1, [x2] + str x1, [x2] ret SVC_END