summaryrefslogtreecommitdiff
path: root/Kernel/kstdio.h
blob: 03f6d65048ea3e585f893e3527f5204f8120c8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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);