summaryrefslogtreecommitdiff
path: root/kc/boot
diff options
context:
space:
mode:
Diffstat (limited to 'kc/boot')
-rw-r--r--kc/boot/Makefile3
-rw-r--r--kc/boot/kc_main.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/kc/boot/Makefile b/kc/boot/Makefile
index 159fec1..44ae161 100644
--- a/kc/boot/Makefile
+++ b/kc/boot/Makefile
@@ -8,7 +8,8 @@ TARGET := efi.os
.DEFAULT: $(TARGET)
CPPFLAGS += -I../../api -I ../api
-OBJS := entry_x86_64.o reloc_x86_64.o kc_main.o elf64.o memcmp.o memcpy.o \
+OBJS := entry_x86_64.o reloc_x86_64.o dynamic_x86_64.o \
+ kc_main.o elf64.o memcmp.o memcpy.o \
memmove.o memset.o loader_paging.o
DEPS := $(patsubst %.o,%.d,$(OBJS))
diff --git a/kc/boot/kc_main.c b/kc/boot/kc_main.c
index 5b32ee6..cb8eb7a 100644
--- a/kc/boot/kc_main.c
+++ b/kc/boot/kc_main.c
@@ -452,6 +452,8 @@ EFI_STATUS kc_main(struct efi_loader_interface *interface)
e_bs = loader_interface->system_table->BootServices;
eto = loader_interface->system_table->ConOut;
+ plog(L"opening kernel image\r\n");
+
if (!EFI_ERROR((status = interface->image_open(&kernel_image))) &&
!EFI_ERROR((status = interface->image_alloc(&kernel_image))) &&
!EFI_ERROR((status = interface->image_load(&kernel_image))))