2 * Copyright 2005-2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
10 #include <Accelerant.h>
16 #define VESA_EDID_BOOT_INFO "vesa_edid/v1"
17 #define VESA_MODES_BOOT_INFO "vesa_modes/v1"
26 struct vesa_shared_info
{
28 area_id mode_list_area
; // area containing display mode list
30 display_mode current_mode
;
33 area_id frame_buffer_area
; // area of frame buffer
35 // pointer to frame buffer (visible by all apps!)
36 uint8
* physical_frame_buffer
;
38 uint32 vesa_mode_offset
;
39 uint32 vesa_mode_count
;
43 uint32 dpms_capabilities
;
46 //----------------- ioctl() interface ----------------
50 VESA_GET_PRIVATE_DATA
= B_DEVICE_OP_CODES_END
+ 1,
52 VESA_SET_DISPLAY_MODE
,
55 VESA_SET_INDEXED_COLORS
,
60 struct vesa_set_indexed_colors_args
{
66 struct vga_planar_blit_args
{
68 int32 source_bytes_per_row
;
75 #endif /* VESA_INFO_H */