summaryrefslogtreecommitdiffstats
path: root/include/efi/debug_ll.h
blob: 4ca72de312afae51d2a1edcf92ad4b97ade0342d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __MACH_DEBUG_LL_H__
#define __MACH_DEBUG_LL_H__

#define EFI_DEBUG 0
#define EFI_DEBUG_CLEAR_MEMORY 0

#include <efi.h>
#include <efi/efi.h>

static inline void PUTC_LL(char c)
{
	uint16_t str[2] = {};
	struct efi_simple_text_output_protocol *con_out = efi_sys_table->con_out;

	str[0] = c;

	con_out->output_string(con_out, str);
}

#endif