coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
qemu_debugcon.h
Go to the documentation of this file.
1 #ifndef _QEMU_DEBUGCON_H_
2 #define _QEMU_DEBUGCON_H_
3 
4 #include <stdint.h>
5 
6 void qemu_debugcon_init(void);
7 void qemu_debugcon_tx_byte(unsigned char data);
8 
9 #if CONFIG(CONSOLE_QEMU_DEBUGCON) && \
10  (ENV_ROMSTAGE || ENV_RAMSTAGE || ENV_POSTCAR || ENV_BOOTBLOCK)
11 static inline void __qemu_debugcon_init(void) { qemu_debugcon_init(); }
12 static inline void __qemu_debugcon_tx_byte(u8 data)
13 {
15 }
16 #else
17 static inline void __qemu_debugcon_init(void) {}
18 static inline void __qemu_debugcon_tx_byte(u8 data) {}
19 #endif
20 
21 #endif
void qemu_debugcon_init(void)
Definition: qemu_debugcon.c:9
void qemu_debugcon_tx_byte(unsigned char data)
Definition: qemu_debugcon.c:18
static void __qemu_debugcon_init(void)
Definition: qemu_debugcon.h:17
static void __qemu_debugcon_tx_byte(u8 data)
Definition: qemu_debugcon.h:18
uint8_t u8
Definition: stdint.h:45