mirror of
https://github.com/RGBCube/serenity
synced 2025-06-14 04:12:09 +00:00

Now that we merged all the Prekernel files into the Kernel files, we can get rid of the Prekernel namespace as well.
37 lines
836 B
C++
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);
|
|
}
|