thermosphere: add proper memory/instruction barriers for breakpoint stuff

This commit is contained in:
TuxSH
2020-01-09 22:47:22 +00:00
parent 0dd5f1f6d4
commit edb942a032
6 changed files with 19 additions and 3 deletions

View File

@@ -23,6 +23,8 @@
.cfi_startproc
loadBreakpointRegs:
// x1 = number
dmb sy
adr x16, 1f
add x0, x0, #(16 * 8)
mov x4, #(16 * 12)
@@ -51,6 +53,8 @@ loadBreakpointRegs:
.cfi_startproc
loadWatchpointRegs:
// x1 = number
dmb sy
adr x16, 1f
add x0, x0, #(16 * 8)
mov x4, #(16 * 12)