blob: cfe22fd8917d398cdfd7257ec84767b2e2af9079 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_SCREEN_INFO_H
20#define _UAPI_SCREEN_INFO_H
21#include <linux/types.h>
22struct screen_info {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 __u8 orig_x;
25 __u8 orig_y;
26 __u16 ext_mem_k;
27 __u16 orig_video_page;
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 __u8 orig_video_mode;
30 __u8 orig_video_cols;
31 __u8 flags;
32 __u8 unused2;
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 __u16 orig_video_ega_bx;
35 __u16 unused3;
36 __u8 orig_video_lines;
37 __u8 orig_video_isVGA;
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __u16 orig_video_points;
40 __u16 lfb_width;
41 __u16 lfb_height;
42 __u16 lfb_depth;
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 __u32 lfb_base;
45 __u32 lfb_size;
46 __u16 cl_magic, cl_offset;
47 __u16 lfb_linelength;
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 __u8 red_size;
50 __u8 red_pos;
51 __u8 green_size;
52 __u8 green_pos;
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 __u8 blue_size;
55 __u8 blue_pos;
56 __u8 rsvd_size;
57 __u8 rsvd_pos;
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 __u16 vesapm_seg;
60 __u16 vesapm_off;
61 __u16 pages;
62 __u16 vesa_attributes;
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 __u32 capabilities;
65 __u8 _reserved[6];
Ben Cheng655a7c02013-10-16 16:09:24 -070066} __attribute__((packed));
67#define VIDEO_TYPE_MDA 0x10
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69#define VIDEO_TYPE_CGA 0x11
70#define VIDEO_TYPE_EGAM 0x20
71#define VIDEO_TYPE_EGAC 0x21
72#define VIDEO_TYPE_VGAC 0x22
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define VIDEO_TYPE_VLFB 0x23
75#define VIDEO_TYPE_PICA_S3 0x30
76#define VIDEO_TYPE_MIPS_G364 0x31
77#define VIDEO_TYPE_SGI 0x33
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define VIDEO_TYPE_TGAC 0x40
80#define VIDEO_TYPE_SUN 0x50
81#define VIDEO_TYPE_SUNPCI 0x51
82#define VIDEO_TYPE_PMAC 0x60
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84#define VIDEO_TYPE_EFI 0x70
85#define VIDEO_FLAGS_NOCURSOR (1 << 0)
86#define VIDEO_CAPABILITY_SKIP_QUIRKS (1 << 0)
87#endif
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */