From 63c354401201ead39a0923b4b9d9e2667bba9cec Mon Sep 17 00:00:00 2001 From: koniifer Date: Thu, 12 Sep 2024 20:10:22 +0100 Subject: [PATCH] amogus example --- kernel/src/arch/aarch64/mod.rs | 1 + sysdata/programs/render_example/src/main.hb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/src/arch/aarch64/mod.rs b/kernel/src/arch/aarch64/mod.rs index 6de4a91..a69e1ee 100644 --- a/kernel/src/arch/aarch64/mod.rs +++ b/kernel/src/arch/aarch64/mod.rs @@ -103,6 +103,7 @@ pub fn spin_loop() -> ! { } } +/// I am sorry. static mut A_REAL_RANDOM_U64_I_PROMISE: u64 = 0; pub fn hardware_random_u64() -> u64 { diff --git a/sysdata/programs/render_example/src/main.hb b/sysdata/programs/render_example/src/main.hb index 63d6390..35b2706 100644 --- a/sysdata/programs/render_example/src/main.hb +++ b/sysdata/programs/render_example/src/main.hb @@ -1,4 +1,4 @@ -.{example} := @use("./examples/lines.hb") +.{example} := @use("./examples/amogus.hb") main := fn(): void { @inline(example)