Project

General

Profile

Statistics
| Revision:

root / lab5 / graphics.h @ 101

History | View | Annotate | Download (535 Bytes)

1 95 up20180655
#ifndef GRAPHICS_H_INCLUDED
2
#define GRAPHICS_H_INCLUDED
3
4 99 up20180655
#include <lcom/lcf.h>
5 95 up20180655
#include <stdint.h>
6
7 99 up20180655
int (get_permission)(unsigned int base_addr, unsigned int size);
8
9
int (get_permissions_first_mbyte)(void);
10
11
int (vbe_get_mode_information)(uint16_t mode, vbe_mode_info_t *vmi_p);
12
13
int (map_vram)(unsigned int vram_base, unsigned int vram_size);
14
15
int (free_memory)(void);
16
17 95 up20180655
/**
18
 * @brief
19
 * @param mode
20
 * @return
21
 */
22
int (set_graphics_mode)(uint16_t mode);
23
24
#endif /* end of include guard: GRAPHICS_H_INCLUDED */