1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

Kernel/riscv64: Make the kernel compilable using GCC

This commit adds all necessary includes, so all functions are properly
declared.
PCI.cpp is moved to PCI/Initializer.cpp, as that matches the header
path.
This commit is contained in:
Sönke Holz 2023-12-12 17:17:05 +01:00 committed by Andrew Kaster
parent 4cd1e4d69e
commit 2b44c4c3f7
5 changed files with 6 additions and 2 deletions

View file

@ -1,19 +0,0 @@
/*
* Copyright (c) 2023, Sönke Holz <sholz8530@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Library/Assertions.h>
namespace Kernel::PCI {
bool g_pci_access_io_probe_failed { false };
bool g_pci_access_is_disabled_from_commandline { true };
void initialize()
{
TODO_RISCV64();
}
}