summaryrefslogtreecommitdiff
path: root/Kernel/Prekernel/Arch/aarch64/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Prekernel/Arch/aarch64/init.cpp')
-rw-r--r--Kernel/Prekernel/Arch/aarch64/init.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Kernel/Prekernel/Arch/aarch64/init.cpp b/Kernel/Prekernel/Arch/aarch64/init.cpp
new file mode 100644
index 0000000000..86af24a419
--- /dev/null
+++ b/Kernel/Prekernel/Arch/aarch64/init.cpp
@@ -0,0 +1,11 @@
+/*
+ * Copyright (c) 2021, Nico Weber <thakis@chromium.org>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+extern "C" [[noreturn]] void init();
+extern "C" [[noreturn]] void init()
+{
+ for (;;) { }
+}