Kernel: Let aarch64 port call into C++

Put all but the first core into a loop, make room for some stack,
and call init().
This commit is contained in:
Nico Weber 2021-09-06 13:11:16 -04:00 committed by Linus Groh
commit 62bc238ac3
Notes: sideshowbarker 2024-07-18 04:34:23 +09:00
3 changed files with 24 additions and 1 deletions

View file

@ -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 (;;) { }
}