File indexing completed on 2025-05-11 08:23:04
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef _FBCONS_H_
0020 #define _FBCONS_H_
0021
0022 #include <libchip/serial.h>
0023 #include <rtems/termiostypes.h>
0024
0025 #ifdef __cplusplus
0026 extern "C" {
0027 #endif
0028
0029
0030
0031
0032
0033
0034
0035 #define FB_CONSOLE 0x50492835
0036
0037 bool fbcons_probe(
0038 rtems_termios_device_context *base
0039 );
0040
0041 void fbcons_write_polled(
0042 rtems_termios_device_context *base,
0043 char c
0044 );
0045
0046 void output_char_fb(char c);
0047
0048 typedef struct {
0049 rtems_termios_device_context base;
0050 } rpi_fb_context ;
0051
0052
0053
0054
0055 extern const rtems_termios_device_handler fbcons_fns;
0056
0057 #ifdef __cplusplus
0058 }
0059 #endif
0060
0061 #endif