1 /**************************************************************************** 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> 22 struct screen_info { 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 __u8 orig_x; 25 __u8 orig_y; 26 __u16 ext_mem_k; 27 __u16 orig_video_page; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 __u8 orig_video_mode; 30 __u8 orig_video_cols; 31 __u8 flags; 32 __u8 unused2; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 __u16 orig_video_ega_bx; 35 __u16 unused3; 36 __u8 orig_video_lines; 37 __u8 orig_video_isVGA; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 __u16 orig_video_points; 40 __u16 lfb_width; 41 __u16 lfb_height; 42 __u16 lfb_depth; 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 __u32 lfb_base; 45 __u32 lfb_size; 46 __u16 cl_magic, cl_offset; 47 __u16 lfb_linelength; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 __u8 red_size; 50 __u8 red_pos; 51 __u8 green_size; 52 __u8 green_pos; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 __u8 blue_size; 55 __u8 blue_pos; 56 __u8 rsvd_size; 57 __u8 rsvd_pos; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 __u16 vesapm_seg; 60 __u16 vesapm_off; 61 __u16 pages; 62 __u16 vesa_attributes; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 __u32 capabilities; 65 __u32 ext_lfb_base; 66 __u8 _reserved[2]; 67 } __attribute__((packed)); 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 #define VIDEO_TYPE_MDA 0x10 70 #define VIDEO_TYPE_CGA 0x11 71 #define VIDEO_TYPE_EGAM 0x20 72 #define VIDEO_TYPE_EGAC 0x21 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 #define VIDEO_TYPE_VGAC 0x22 75 #define VIDEO_TYPE_VLFB 0x23 76 #define VIDEO_TYPE_PICA_S3 0x30 77 #define VIDEO_TYPE_MIPS_G364 0x31 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 #define VIDEO_TYPE_SGI 0x33 80 #define VIDEO_TYPE_TGAC 0x40 81 #define VIDEO_TYPE_SUN 0x50 82 #define VIDEO_TYPE_SUNPCI 0x51 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 #define VIDEO_TYPE_PMAC 0x60 85 #define VIDEO_TYPE_EFI 0x70 86 #define VIDEO_FLAGS_NOCURSOR (1 << 0) 87 #define VIDEO_CAPABILITY_SKIP_QUIRKS (1 << 0) 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 #define VIDEO_CAPABILITY_64BIT_BASE (1 << 1) 90 #endif 91