2021-03-02 12:23:43 +03:00
|
|
|
#ifndef __DRIVERS__GOP_H__
|
|
|
|
#define __DRIVERS__GOP_H__
|
|
|
|
|
2022-09-02 03:29:12 +03:00
|
|
|
#if defined (UEFI)
|
2021-03-02 12:23:43 +03:00
|
|
|
|
|
|
|
#include <stdint.h>
|
2022-10-14 06:17:24 +03:00
|
|
|
#include <stddef.h>
|
2021-03-02 12:23:43 +03:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <efi.h>
|
|
|
|
#include <lib/fb.h>
|
|
|
|
|
|
|
|
bool init_gop(struct fb_info *ret,
|
2022-05-22 07:38:34 +03:00
|
|
|
uint64_t target_width, uint64_t target_height, uint16_t target_bpp);
|
2021-03-02 12:23:43 +03:00
|
|
|
|
2022-10-14 06:17:24 +03:00
|
|
|
struct fb_info *gop_get_mode_list(size_t *count);
|
|
|
|
|
2022-05-22 09:19:41 +03:00
|
|
|
extern bool gop_force_16;
|
|
|
|
|
2021-03-02 12:23:43 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|