Project

General

Profile

Statistics
| Revision:

root / lab5 / graphics.h @ 99

History | View | Annotate | Download (535 Bytes)

1
#ifndef GRAPHICS_H_INCLUDED
2
#define GRAPHICS_H_INCLUDED
3

    
4
#include <lcom/lcf.h>
5
#include <stdint.h>
6

    
7
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
/**
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 */