blob: 34e745a5dc240e53996cd0b55f41675b837c4433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <AK/Types.h>
extern "C" {
int dbgprintf(const char* fmt, ...);
int dbgputstr(const char*, int);
int kprintf(const char* fmt, ...);
int sprintf(char* buf, const char* fmt, ...);
void set_serial_debug(bool on_or_off);
int get_serial_debug();
}
#ifdef KERNEL
# define printf dbgprintf
#endif
#ifndef __serenity__
#define dbgprintf printf
#endif
|