From c046eeacdd05ff6dd2e35889922bb57b67b449ff Mon Sep 17 00:00:00 2001 From: hexkyz Date: Tue, 16 Jun 2026 19:22:54 +0100 Subject: [PATCH] meso: fix longstanding bad asm copy-paste --- .../source/arch/arm64/kern_userspace_memory_access_asm.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/libmesosphere/source/arch/arm64/kern_userspace_memory_access_asm.s b/libraries/libmesosphere/source/arch/arm64/kern_userspace_memory_access_asm.s index 4c2553884..5fab2ca80 100644 --- a/libraries/libmesosphere/source/arch/arm64/kern_userspace_memory_access_asm.s +++ b/libraries/libmesosphere/source/arch/arm64/kern_userspace_memory_access_asm.s @@ -682,7 +682,7 @@ _ZN3ams4kern4arch5arm6415UserspaceAccess4Impl18WriteIoMemory32BitEPvPKvm: mov x30, x10 /* Write the word to io. */ - sttr w9, [x5] + sttr w9, [x4] dsb sy 2: /* Continue. */ @@ -727,7 +727,7 @@ _ZN3ams4kern4arch5arm6415UserspaceAccess4Impl18WriteIoMemory16BitEPvPKvm: mov x30, x10 /* Write the word to io. */ - sttrh w9, [x5] + sttrh w9, [x4] dsb sy 2: /* Continue. */ @@ -772,7 +772,7 @@ _ZN3ams4kern4arch5arm6415UserspaceAccess4Impl17WriteIoMemory8BitEPvPKvm: mov x30, x10 /* Write the word to io. */ - sttrb w9, [x5] + sttrb w9, [x4] dsb sy 2: /* Continue. */