summaryrefslogtreecommitdiff
path: root/src/kernel/vesa.h
blob: 495b593b74aa5bd651eb74a9930e346bd49d2460 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef VESA_H
#define VESA_H

struct video_mode {
  //TODO
};

#define VESA_INFO \
  ((struct { \
    uint32_t sig; \
    uint16_t vbe_ver; \
    char *oem; \
    uint32_t capabilities; \
    struct video_mode *modes; \
    uint16_t vram_size_high; \
    uint16_t soft_ver; \
    char *vendor; \
    char *pname; \
    char *prev; \
  } *)0x4200)

void init_vesa();

#endif