Kernel/riscv64: Stub out optional_current_time

This function is used in TimeManagement.cpp
This commit is contained in:
Sönke Holz 2023-12-07 17:34:33 +01:00 committed by Andrew Kaster
parent 4292b0ead7
commit 9e4286d782
Notes: sideshowbarker 2024-07-17 00:23:42 +09:00
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
/*
* Copyright (c) 2023, Sönke Holz <sholz8530@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Arch/CurrentTime.h>
namespace Kernel {
fptr optional_current_time()
{
return nullptr;
}
}

View File

@ -517,6 +517,7 @@ elseif("${SERENITY_ARCH}" STREQUAL "riscv64")
Arch/riscv64/Firmware/ACPI/StaticParsing.cpp
Arch/riscv64/boot.S
Arch/riscv64/CurrentTime.cpp
Arch/riscv64/DebugOutput.cpp
Arch/riscv64/Delay.cpp
Arch/riscv64/InterruptManagement.cpp