From 7b531e36ead388f5faea692d426571d70f2c681e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 26 Oct 2022 23:26:25 -0400 Subject: [PATCH] Fix HELLO check that HULK bss and stack region could be found --- src/hello/hello.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hello/hello.d b/src/hello/hello.d index d532115..d4d794c 100644 --- a/src/hello/hello.d +++ b/src/hello/hello.d @@ -229,7 +229,7 @@ private void get_memory_map(ulong * bss_phys, ulong * stack_phys, ulong * physic } } bootinfo().memory_map_count = count; - if ((!found_bss) && (!found_stack)) + if ((!found_bss) || (!found_stack)) { for (;;) {} }