summaryrefslogtreecommitdiff
path: root/stage3/watchdog.lua
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2024-01-09 20:56:07 +0100
committerLizzy Fleckenstein <lizzy@vlhl.dev>2024-01-09 21:00:24 +0100
commit59f22bc7ce5bbadf62722f3db5c93b45e86e4cca (patch)
treec5771b21f6c12f3e58cbb6c6dda8df3bc4b23798 /stage3/watchdog.lua
parent33bb4187103c49c81fbf7c6f18ebcfd4c4d66fd2 (diff)
downloadcuddles-59f22bc7ce5bbadf62722f3db5c93b45e86e4cca.tar.xz
use ELF for kernel
Diffstat (limited to 'stage3/watchdog.lua')
-rw-r--r--stage3/watchdog.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/stage3/watchdog.lua b/stage3/watchdog.lua
index dac4d57..8d3a206 100644
--- a/stage3/watchdog.lua
+++ b/stage3/watchdog.lua
@@ -12,9 +12,13 @@ local regs = {
print("global watchdog")
print("extern rand, watchdog_err")
+print("section .bss")
+
print("regs_backup: resq 16")
print("regs_rand: resq 16")
+print("section .text")
+
print("watchdog:")
local function iter_regs(f)