1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-14 04:12:09 +00:00
serenity/Kernel/Arch/aarch64/kprintf.cpp
Timon Kruiper 1f3977b303 Kernel: Remove Prekernel namespace in the aarch64 Kernel
Now that we merged all the Prekernel files into the Kernel files, we can
get rid of the Prekernel namespace as well.
2022-05-12 23:14:05 +02:00

37 lines
836 B
C++

/*
* Copyright (c) 2022, Timon Kruiper <timonkruiper@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Arch/aarch64/RPi/UART.h>
#include <Kernel/kstdio.h>
// FIXME: Merge the code in this file with Kernel/kprintf.cpp once the proper abstractions are in place.
void kernelputstr(char const* characters, size_t length)
{
if (!characters)
return;
auto& uart = Kernel::UART::the();
uart.print_str(characters, length);
}
void kernelcriticalputstr(char const* characters, size_t length)
{
if (!characters)
return;
auto& uart = Kernel::UART::the();
uart.print_str(characters, length);
}
void kernelearlyputstr(char const* characters, size_t length)
{
if (!characters)
return;
auto& uart = Kernel::UART::the();
uart.print_str(characters, length);
}