1 /****************************************************************************
2 ****************************************************************************
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.
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
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
17 ****************************************************************************
18 ****************************************************************************/
21 #define TF_MASK 0x00000100
22 #define IF_MASK 0x00000200
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define IOPL_MASK 0x00003000
25 #define NT_MASK 0x00004000
27 #define AC_MASK 0x00040000
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define VIF_MASK 0x00080000
30 #define VIP_MASK 0x00100000
31 #define ID_MASK 0x00200000
32 #define BIOSSEG 0x0f000
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
41 #define VM86_TYPE(retval) ((retval) & 0xff)
42 #define VM86_ARG(retval) ((retval) >> 8)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
45 #define VM86_UNKNOWN 1
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define VM86_PICRETURN 4
51 #define VM86_PLUS_INSTALL_CHECK 0
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define VM86_ENTER_NO_BYPASS 2
55 #define VM86_REQUEST_IRQ 3
56 #define VM86_FREE_IRQ 4
57 #define VM86_GET_IRQ_BITS 5
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define VM86_GET_AND_RESET_IRQ 6
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
77 unsigned short cs
, __csh
;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
81 unsigned short ss
, __ssh
;
82 unsigned short es
, __esh
;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 unsigned short ds
, __dsh
;
85 unsigned short fs
, __fsh
;
86 unsigned short gs
, __gsh
;
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 struct revectored_struct
{
90 unsigned long __map
[8];
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 struct vm86_regs regs
;
96 unsigned long screen_bitmap
;
97 unsigned long cpu_type
;
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 struct revectored_struct int_revectored
;
100 struct revectored_struct int21_revectored
;
102 #define VM86_SCREEN_BITMAP 0x0001
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 struct vm86plus_info_struct
{
105 unsigned long force_return_for_pic
:1;
106 unsigned long vm86dbg_active
:1;
107 unsigned long vm86dbg_TFpendig
:1;
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 unsigned long unused
:28;
110 unsigned long is_vm86pus
:1;
111 unsigned char vm86dbg_intxxtab
[32];
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 struct vm86plus_struct
{
115 struct vm86_regs regs
;
117 unsigned long screen_bitmap
;
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 unsigned long cpu_type
;
120 struct revectored_struct int_revectored
;
121 struct revectored_struct int21_revectored
;
122 struct vm86plus_info_struct vm86plus
;
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */