2020-02-09 14:28:56 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
*
|
2021-04-22 08:24:48 +00:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-02-09 14:28:56 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-08-13 04:25:05 +00:00
|
|
|
#include <AK/StringView.h>
|
2020-02-09 14:28:56 +00:00
|
|
|
#include <AK/Types.h>
|
|
|
|
|
|
|
|
extern "C" {
|
2022-04-01 17:58:27 +00:00
|
|
|
void dbgputstr(char const*, size_t);
|
|
|
|
void kernelputstr(char const*, size_t);
|
|
|
|
void kernelcriticalputstr(char const*, size_t);
|
2022-09-02 12:59:21 +00:00
|
|
|
void dbgputchar(char);
|
2022-04-01 17:58:27 +00:00
|
|
|
void kernelearlyputstr(char const*, size_t);
|
2022-08-24 21:49:23 +00:00
|
|
|
void set_serial_debug_enabled(bool desired_state);
|
|
|
|
bool is_serial_debug_enabled();
|
2020-02-09 14:28:56 +00:00
|
|
|
}
|
2021-08-13 04:25:05 +00:00
|
|
|
|
|
|
|
void dbgputstr(StringView view);
|