Higher half, fixed warnings

This commit is contained in:
Jozef Nagy 2025-05-21 22:46:02 +02:00
parent 35c922d5ed
commit 4f39a7564e
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
3 changed files with 3 additions and 4 deletions

View file

@ -28,7 +28,7 @@ export BUILD_DIR ?= build
export SYSROOT_DIR ?= sysroot export SYSROOT_DIR ?= sysroot
export ASFLAGS := $(foreach d, $(DEFINES), -D$d) export ASFLAGS := $(foreach d, $(DEFINES), -D$d)
export CFLAGS := $(foreach d, $(DEFINES), -D$d) -Wall -Wextra -ffreestanding -fno-stack-protector -fno-stack-check -MMD -MP export CFLAGS := $(foreach d, $(DEFINES), -D$d) -Wall -Wextra -Wno-unused-local-typedef -ffreestanding -fno-stack-protector -fno-stack-check -MMD -MP
export LDFLAGS := -nostdlib export LDFLAGS := -nostdlib
export BOOT_ROOT := $(ROOT_DIR)/boot export BOOT_ROOT := $(ROOT_DIR)/boot

View file

@ -49,7 +49,7 @@ bool verify_secure_boot()
void load_drivers() void load_drivers()
{ {
EFI_STATUS status; // EFI_STATUS status;
if (!verify_secure_boot()) { if (!verify_secure_boot()) {
debug("load_drivers(): Secure boot is enabled! Won't load drivers...\n"); debug("load_drivers(): Secure boot is enabled! Won't load drivers...\n");
return; return;

View file

@ -31,8 +31,7 @@ PHDRS
SECTIONS SECTIONS
{ {
/* TODO: 0xffffffff80000000 */ . = 0xffffffff80000000;
. = 0x1000;
_linker_start_text = .; _linker_start_text = .;