adding a bunch of code (vesa, keyb, mouse, etc) to the menu
[cdmenu] / menu / src / dos / drv.h
1 #ifndef DRV_H_
2 #define DRV_H_
3
4 #include "sizeint.h"
5
6 struct vid_drvops {
7         int (*init)(void);
8         void (*cleanup)(void);
9
10         int (*setmode)(int mode);
11         int (*curmode)(void);
12 };
13
14 #define MAX_DRV 16
15 extern struct vid_driver *vid_drvlist[MAX_DRV];
16 extern int vid_numdrv;
17
18 extern void *vid_vmem;
19 extern int vid_vmem_size;
20
21 void vid_register_vga(void);            /* drv_vga.c */
22 void vid_register_vbe(void);            /* drv_vbe.c */
23 void vid_register_s3(void);             /* drv_s3.c */
24
25 #endif  /* DRV_H_ */