commit 09f8051536ea3ac6824d1eff57819bf7be7e5eee
parent c1a1b1f2336cdd783ace6ee34af7ff13a03b25a4
Author: Matsuda Kenji <info@mtkn.jp>
Date: Thu, 28 Mar 2024 11:53:28 +0900
incremeet
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel.c b/kernel.c
@@ -1,6 +1,6 @@
void
kernel_main(void)
{
- for(;1;)
- ;
+ for(int x ;; x++) {
+ }
}
\ No newline at end of file
diff --git a/loader.c b/loader.c
@@ -70,7 +70,7 @@ EfiMain(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *systab)
efi_printf("set position of \"kernel.elf\": %d\n", stat);
return stat;
}
- UINTN kernel_size = 0x10;
+ UINTN kernel_size = 0x100;
stat = kernel->Read(kernel, &kernel_size, (VOID *)kernel_base);
if (stat != EFI_SUCCESS) {
efi_printf("read file \"kernel.elf\": %d\n", stat);