mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
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:
parent
f1d1418256
commit
62bc238ac3
Notes:
sideshowbarker
2024-07-18 04:34:23 +09:00
Author: https://github.com/nico
Commit: 62bc238ac3
Pull-request: https://github.com/SerenityOS/serenity/pull/9857
Reviewed-by: https://github.com/linusg ✅
3 changed files with 24 additions and 1 deletions
11
Kernel/Prekernel/Arch/aarch64/init.cpp
Normal file
11
Kernel/Prekernel/Arch/aarch64/init.cpp
Normal 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 (;;) { }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue