From 2da31b122f72f9d90bdad3d505c2db98216f4886 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 22 Jul 2021 00:35:40 -0700 Subject: [PATCH] kern: fix hardware watchpoint detection --- .../libmesosphere/source/arch/arm64/kern_exception_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmesosphere/source/arch/arm64/kern_exception_handlers.cpp b/libraries/libmesosphere/source/arch/arm64/kern_exception_handlers.cpp index 2bb27ae0d..41adafb99 100644 --- a/libraries/libmesosphere/source/arch/arm64/kern_exception_handlers.cpp +++ b/libraries/libmesosphere/source/arch/arm64/kern_exception_handlers.cpp @@ -258,7 +258,7 @@ namespace ams::kern::arch::arm64 { { exception = ams::svc::DebugException_BreakPoint; param2 = far; - param3 = ams::svc::BreakPointType_HardwareInstruction; + param3 = ams::svc::BreakPointType_HardwareData; } break; case EsrEc_SErrorInterrupt: