Higher half, fixed warnings
This commit is contained in:
parent
35c922d5ed
commit
4f39a7564e
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -31,8 +31,7 @@ PHDRS
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
/* TODO: 0xffffffff80000000 */
|
. = 0xffffffff80000000;
|
||||||
. = 0x1000;
|
|
||||||
|
|
||||||
_linker_start_text = .;
|
_linker_start_text = .;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue