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