summaryrefslogtreecommitdiff
path: root/kc/boot/kc_main.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-12-29 01:57:35 +0000
committerAda Christine <adachristine18@gmail.com>2021-12-29 01:57:35 +0000
commitce3114115c1553ec645c6344020ff2608b904ffa (patch)
tree51c378ba0e31625fa7ff764a9332d2398bf3fde5 /kc/boot/kc_main.c
parent96e53132fd152932f2ceaf4c422abc997b06169f (diff)
clear object space
Diffstat (limited to 'kc/boot/kc_main.c')
-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);
}