summaryrefslogtreecommitdiffstats
path: root/include/grub/i386/pc/vesa_modes_table.h
blob: 376ca376bb1da06b08f3e5ec73a08e32f836c702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef GRUB_VESA_MODE_TABLE_HEADER
#define GRUB_VESA_MODE_TABLE_HEADER 1

#include <grub/types.h>

#define GRUB_VESA_MODE_TABLE_START 0x300
#define GRUB_VESA_MODE_TABLE_END 0x373

struct grub_vesa_mode_table_entry {
  grub_uint16_t width;
  grub_uint16_t height;
  grub_uint8_t depth;
};

extern struct grub_vesa_mode_table_entry
grub_vesa_mode_table[GRUB_VESA_MODE_TABLE_END
		     - GRUB_VESA_MODE_TABLE_START + 1];

#endif