From 9ca1793090116d3bc81ef6bcb8e010e1b8a5e26d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 19:19:52 +0000 Subject: [PATCH 1/2] Initial plan From b485902b64c8b02cc93e62bf20df29a625da311f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 19:23:09 +0000 Subject: [PATCH 2/2] Fix bootloader compilation errors: add stddef.h and suppress unused parameter/variable warnings Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com> --- bootloader/src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootloader/src/main.c b/bootloader/src/main.c index 21d72a1..75063fd 100644 --- a/bootloader/src/main.c +++ b/bootloader/src/main.c @@ -10,6 +10,7 @@ * That's it. No fancy stuff. */ +#include #include "bootloader.h" #include "efi.h" @@ -53,6 +54,7 @@ static EFI_SYSTEM_TABLE* gST = NULL; * Print a string to the UEFI console */ void print_string(const CHAR16* str) { + (void)str; if (gST && gST->ConOut) { // In real implementation: gST->ConOut->OutputString(gST->ConOut, (CHAR16*)str); // For now, this is a stub @@ -113,6 +115,7 @@ void* get_rsdp(void) { EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE* SystemTable) { EFI_STATUS status; BootInfo boot_info = {0}; + (void)boot_info; gST = SystemTable;