aboutsummaryrefslogtreecommitdiff
path: root/include/macros.s
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-11-03 21:28:40 +0100
committerMirek Kratochvil <exa.exa@gmail.com>2023-11-03 21:28:40 +0100
commitd7fcbcdbf0dd3976ea26800a28508785d02c2408 (patch)
treed2720d0045110b3520749be8272c76844583e1b6 /include/macros.s
parent1909e97d4615045e707710a2aaeae8bf702a8355 (diff)
downloaduskel-d7fcbcdbf0dd3976ea26800a28508785d02c2408.tar.gz
uskel-d7fcbcdbf0dd3976ea26800a28508785d02c2408.tar.bz2
fix blackhole (partially), kill apply1
Diffstat (limited to 'include/macros.s')
-rw-r--r--include/macros.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/macros.s b/include/macros.s
index 051f147..81c5002 100644
--- a/include/macros.s
+++ b/include/macros.s
@@ -51,4 +51,10 @@ _macros_s_file:
mov %rsp, \reg
.endm
+.macro blackhole
+ mov (%rbp), %rax
+ mov %rax, 010(%rbp)
+ movq $BLE_code, (%rbp)
+.endm
+
.endif # _macros_s_file