toaruos/base/usr/include/kernel/video.h

24 lines
490 B
C
Raw Normal View History

2018-03-16 15:56:19 +03:00
#pragma once
#define IO_VID_WIDTH 0x5001
#define IO_VID_HEIGHT 0x5002
#define IO_VID_DEPTH 0x5003
#define IO_VID_ADDR 0x5004
#define IO_VID_SIGNAL 0x5005
#define IO_VID_SET 0x5006
#define IO_VID_STRIDE 0x5007
struct vid_size {
uint32_t width;
uint32_t height;
};
2018-03-16 15:56:19 +03:00
#ifdef _KERNEL_
extern void lfb_set_resolution(uint16_t x, uint16_t y);
extern uint16_t lfb_resolution_x;
extern uint16_t lfb_resolution_y;
extern uint16_t lfb_resolution_b;
extern uint8_t * lfb_vid_memory;
#endif