2020-02-25 23:28:14 +01:00
|
|
|
#ifndef __KERNEL_DRIVERS_SCREEN_H__
|
|
|
|
# define __KERNEL_DRIVERS_SCREEN_H__
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-03-15 00:56:31 +01:00
|
|
|
// Internal enumeration for the
|
|
|
|
// screen getter
|
|
|
|
typedef enum {
|
|
|
|
SCREEN_WIDTH,
|
|
|
|
SCREEN_HEIGHT
|
|
|
|
} screen_getter_t;
|
|
|
|
|
|
|
|
// Internal hardware abstract
|
|
|
|
extern size_t screen_get(screen_getter_t getter);
|
2020-05-01 11:23:56 +02:00
|
|
|
extern void screen_update(void *vram);
|
2020-02-25 23:28:14 +01:00
|
|
|
|
|
|
|
#endif /*__KERNEL_DRIVERS_SCREEN_H__*/
|