summaryrefslogtreecommitdiff
path: root/kc
diff options
context:
space:
mode:
Diffstat (limited to 'kc')
-rw-r--r--kc/boot/kc_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kc/boot/kc_main.c b/kc/boot/kc_main.c
index b7ad918..f5f0017 100644
--- a/kc/boot/kc_main.c
+++ b/kc/boot/kc_main.c
@@ -412,6 +412,8 @@ EFI_STATUS kc_main(struct efi_loader_interface *interface)
DATA_PAGE_TYPE,
object_space_size);
+ e_bs->SetMem((void *)object_space_phys_base, object_space_size, 0);
+
enter_kernel(ehdr);
}