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 (;;) {} }