• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_UVESAFB_H
20 #define _UAPI_UVESAFB_H
21 #include <linux/types.h>
22 struct v86_regs {
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24   __u32 ebx;
25   __u32 ecx;
26   __u32 edx;
27   __u32 esi;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29   __u32 edi;
30   __u32 ebp;
31   __u32 eax;
32   __u32 eip;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   __u32 eflags;
35   __u32 esp;
36   __u16 cs;
37   __u16 ss;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   __u16 es;
40   __u16 ds;
41   __u16 fs;
42   __u16 gs;
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 };
45 #define TF_VBEIB 0x01
46 #define TF_BUF_ESDI 0x02
47 #define TF_BUF_ESBX 0x04
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define TF_BUF_RET 0x08
50 #define TF_EXIT 0x10
51 struct uvesafb_task {
52   __u8 flags;
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54   int buf_len;
55   struct v86_regs regs;
56 };
57 #define VBE_CAP_CAN_SWITCH_DAC 0x01
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define VBE_CAP_VGACOMPAT 0x02
60 struct vbe_ib {
61   char vbe_signature[4];
62   __u16 vbe_version;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   __u32 oem_string_ptr;
65   __u32 capabilities;
66   __u32 mode_list_ptr;
67   __u16 total_memory;
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   __u16 oem_software_rev;
70   __u32 oem_vendor_name_ptr;
71   __u32 oem_product_name_ptr;
72   __u32 oem_product_rev_ptr;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   __u8 reserved[222];
75   char oem_data[256];
76   char misc_data[512];
77 } __attribute__((packed));
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 #endif
80