mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
77486a0d08
We don't actually need the va_list and other stdarg definitions in the kernel, because we actually don't use the "pure" printf interface in any kernel code at all, but we retain the snprintf declaration because the libstdc++ library still need it to be declared and extern'ed.
23 lines
506 B
C
23 lines
506 B
C
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/StringView.h>
|
|
#include <AK/Types.h>
|
|
|
|
extern "C" {
|
|
void dbgputstr(char const*, size_t);
|
|
void kernelputstr(char const*, size_t);
|
|
void kernelcriticalputstr(char const*, size_t);
|
|
void dbgputchar(char);
|
|
void kernelearlyputstr(char const*, size_t);
|
|
void set_serial_debug_enabled(bool desired_state);
|
|
bool is_serial_debug_enabled();
|
|
}
|
|
|
|
void dbgputstr(StringView view);
|