W-M-R commented on code in PR #21361: URL: https://github.com/apache/nuttx/pull/21361#discussion_r4662874463
########## arch/arm64/src/common/arm64_hwdebug.c: ########## @@ -342,6 +342,10 @@ int arm64_enable_dbgmonitor(void) mdscr |= ARM64_MDSCR_EL1_MDE | ARM64_MDSCR_EL1_KDE; write_sysreg(mdscr, mdscr_el1); + write_sysreg(0, osdlr_el1); Review Comment: It is also applicable to arm64-a; it is not strictly limited to arm64-r. Testing has shown that by adding two "clear" (zeroing) operations, the `hwdebug` functionality can also be used on arm64-r. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
