summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-05-03 00:25:03 +0200
committerAndreas Kling <kling@serenityos.org>2022-05-03 21:53:36 +0200
commitb46432161874cb1d3c39ab9577a5ae3fed312195 (patch)
treed0b968748c16deb49fce29ec7abd82d9c2e2cf5d /Kernel
parent3b4d2d9b519246b9a0129d96a5fde8d9a181ec24 (diff)
downloadserenity-b46432161874cb1d3c39ab9577a5ae3fed312195.zip
Kernel: Add kmalloc_init() to the init function of the aarch64 Kernel
With the previous commits, we are now able to call kmalloc() :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Arch/aarch64/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Arch/aarch64/init.cpp b/Kernel/Arch/aarch64/init.cpp
index fc8693e417..609556df07 100644
--- a/Kernel/Arch/aarch64/init.cpp
+++ b/Kernel/Arch/aarch64/init.cpp
@@ -43,6 +43,8 @@ extern "C" [[noreturn]] void init()
dbgln("Observed deviations from that ideal are shortcomings of your imagination.");
dbgln();
+ kmalloc_init();
+
auto firmware_version = query_firmware_version();
dbgln("Firmware version: {}", firmware_version);