1655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/**************************************************************************** 2655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng **************************************************************************** 3655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 4655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** This header was automatically generated from a Linux kernel header 5655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** of the same name, to make information necessary for userspace to 6655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** call into the kernel available to libc. It contains only constants, 7655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** structures, and macros generated from the original header, and thus, 8655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** contains no copyrightable information. 9655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 10655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** To edit the content of this header, modify the corresponding 11655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** source file (e.g. under external/kernel-headers/original/) then 12655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** run bionic/libc/kernel/tools/update_all.py 13655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 14655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** Any manual change here will be lost the next time this script will 15655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** be run. You've been warned! 16655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 17655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng **************************************************************************** 18655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng ****************************************************************************/ 19655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#ifndef _UAPI_SCREEN_INFO_H 20655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define _UAPI_SCREEN_INFO_H 21655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#include <linux/types.h> 22655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Chengstruct screen_info { 23655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 orig_x; 25d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 orig_y; 26d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 ext_mem_k; 27d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 orig_video_page; 28655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 orig_video_mode; 30d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 orig_video_cols; 31d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 flags; 32d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 unused2; 33655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 orig_video_ega_bx; 35d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 unused3; 36d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 orig_video_lines; 37d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 orig_video_isVGA; 38655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 orig_video_points; 40d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 lfb_width; 41d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 lfb_height; 42d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 lfb_depth; 43655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u32 lfb_base; 45d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u32 lfb_size; 46d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 cl_magic, cl_offset; 47d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 lfb_linelength; 48655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 red_size; 50d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 red_pos; 51d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 green_size; 52d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 green_pos; 53655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 blue_size; 55d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 blue_pos; 56d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 rsvd_size; 57d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 rsvd_pos; 58655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 vesapm_seg; 60d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 vesapm_off; 61d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 pages; 62d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u16 vesa_attributes; 63655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u32 capabilities; 65d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 _reserved[6]; 66655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng} __attribute__((packed)); 67655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_MDA 0x10 68655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_CGA 0x11 70655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_EGAM 0x20 71655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_EGAC 0x21 72655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_VGAC 0x22 73655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_VLFB 0x23 75655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_PICA_S3 0x30 76655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_MIPS_G364 0x31 77655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_SGI 0x33 78655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_TGAC 0x40 80655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_SUN 0x50 81655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_SUNPCI 0x51 82655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_PMAC 0x60 83655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_TYPE_EFI 0x70 85655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_FLAGS_NOCURSOR (1 << 0) 86655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define VIDEO_CAPABILITY_SKIP_QUIRKS (1 << 0) 87655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#endif 88655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89