mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
As there is no need for a Prekernel on aarch64, the Prekernel code was moved into Kernel itself. The functionality remains the same. SERENITY_KERNEL_AND_INITRD in run.sh specifies a kernel and an inital ramdisk to be used by the emulator. This is needed because aarch64 does not need a Prekernel and the other ones do.
19 lines
285 B
C++
19 lines
285 B
C++
/*
|
|
* Copyright (c) 2021, James Mintram <me@jamesrm.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Prekernel {
|
|
|
|
void drop_to_exception_level_1();
|
|
void init_prekernel_page_tables();
|
|
|
|
[[noreturn]] void panic(const char* msg);
|
|
|
|
[[noreturn]] void halt();
|
|
|
|
}
|