mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 09:35:15 +00:00
This commits inserts TODOs into all necessary places to make the kernel compile on riscv64!
26 lines
501 B
C++
26 lines
501 B
C++
/*
|
|
* Copyright (c) 2023, Sönke Holz <sholz8530@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <AK/Types.h>
|
|
|
|
#include <Kernel/Arch/Processor.h>
|
|
#include <Kernel/Memory/PhysicalAddress.h>
|
|
|
|
namespace Kernel {
|
|
|
|
extern "C" [[noreturn]] void pre_init(FlatPtr mhartid, PhysicalPtr fdt_phys_addr);
|
|
extern "C" [[noreturn]] void pre_init(FlatPtr mhartid, PhysicalPtr fdt_phys_addr)
|
|
{
|
|
(void)mhartid;
|
|
(void)fdt_phys_addr;
|
|
|
|
// FIXME: Implement this
|
|
|
|
Processor::halt();
|
|
}
|
|
|
|
}
|