20 #ifndef LIBBSP_ARM_RASPBERRYPI_FB_H 21 #define LIBBSP_ARM_RASPBERRYPI_FB_H 35 enum rpi_fb_init_result {
37 RPI_FB_INIT_ALREADY_INITIALIZED = 1,
38 RPI_FB_INIT_GENERIC_ERROR = -1,
39 RPI_FB_INIT_NO_DISPLAY = -2,
40 RPI_FB_INIT_CMDLINE_BAD_FORMAT = -3,
41 RPI_FB_INIT_CMDLINE_DONT_INIT = -4,
42 RPI_FB_INIT_CMDLINE_NO_MODE_REQ = -5,
43 RPI_FB_INIT_MODE_PROBE_ERROR = -6,
44 RPI_FB_INIT_SETUP_FAILED = -7,
45 RPI_FB_INIT_START_ADDR_UNKNOWN = -8,
48 int rpi_fb_init(
void );
51 bool rpi_fb_hdmi_is_present(
void );
Frame Buffer Device Driver.