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