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 BVERROR_H 20 #define BVERROR_H 21 #define BVERRDEF_VENDOR_SHIFT 24 22 #define BVERRDEF_VENDOR_MASK (0xFF << BVERRDEF_VENDOR_SHIFT) 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define BVERRDEF_VENDOR_ALL (0x00 << BVERRDEF_VENDOR_SHIFT) 25 #define BVERRDEF_VENDOR_TI (0x01 << BVERRDEF_VENDOR_SHIFT) 26 enum bverror { 27 BVERR_NONE = 0, 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 BVERR_UNK = 30 BVERRDEF_VENDOR_ALL + 1, 31 BVERR_OOM = 32 BVERRDEF_VENDOR_ALL + 2, 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 BVERR_RSRC = 35 BVERRDEF_VENDOR_ALL + 3, 36 BVERR_VIRTADDR = 37 BVERRDEF_VENDOR_ALL + 1000, 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 BVERR_VIRTPTR = 40 BVERR_VIRTADDR, 41 BVERR_BUFFERDESC = 42 BVERRDEF_VENDOR_ALL + 10000, 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 BVERR_BUFFERDESC_VERS = 45 BVERRDEF_VENDOR_ALL + 11000, 46 BVERR_BUFFERDESC_VIRTADDR = 47 BVERRDEF_VENDOR_ALL + 12000, 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 BVERR_BUFFERDESC_LEN = 50 BVERRDEF_VENDOR_ALL + 13000, 51 BVERR_BUFFERDESC_ALIGNMENT = 52 BVERRDEF_VENDOR_ALL + 14000, 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 BVERR_BLTPARAMS_VERS = 55 BVERRDEF_VENDOR_ALL + 20000, 56 BVERR_IMPLEMENTATION = 57 BVERRDEF_VENDOR_ALL + 21000, 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 BVERR_FLAGS = 60 BVERRDEF_VENDOR_ALL + 22000, 61 BVERR_OP = 62 BVERRDEF_VENDOR_ALL + 22100, 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 BVERR_KEY = 65 BVERRDEF_VENDOR_ALL + 22200, 66 BVERR_SRC1_TILE = 67 BVERRDEF_VENDOR_ALL + 22300, 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 BVERR_SRC2_TILE = 70 BVERRDEF_VENDOR_ALL + 22310, 71 BVERR_MASK_TILE = 72 BVERRDEF_VENDOR_ALL + 22320, 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 BVERR_FLIP = 75 BVERRDEF_VENDOR_ALL + 22400, 76 BVERR_ROP = 77 BVERRDEF_VENDOR_ALL + 23000, 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 BVERR_BLEND = 80 BVERRDEF_VENDOR_ALL + 23100, 81 BVERR_GLOBAL_ALPHA = 82 BVERRDEF_VENDOR_ALL + 23110, 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 BVERR_FILTER = 85 BVERRDEF_VENDOR_ALL + 23200, 86 BVERR_FILTER_PARAMS_VERS = 87 BVERRDEF_VENDOR_ALL + 23210, 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 BVERR_FILTER_PARAMS = 90 BVERRDEF_VENDOR_ALL + 23220, 91 BVERR_SCALE_MODE = 92 BVERRDEF_VENDOR_ALL + 24000, 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 BVERR_DITHER_MODE = 95 BVERRDEF_VENDOR_ALL + 25000, 96 BVERR_DSTDESC = 97 BVERRDEF_VENDOR_ALL + 26000, 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 BVERR_DSTDESC_VERS = 100 BVERRDEF_VENDOR_ALL + 26100, 101 BVERR_DSTDESC_VIRTADDR = 102 BVERRDEF_VENDOR_ALL + 26200, 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 BVERR_DSTDESC_LEN = 105 BVERRDEF_VENDOR_ALL + 26300, 106 BVERR_DST_ALIGNMENT = 107 BVERRDEF_VENDOR_ALL + 26400, 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 BVERR_DSTGEOM = 110 BVERRDEF_VENDOR_ALL + 27000, 111 BVERR_DSTGEOM_VERS = 112 BVERRDEF_VENDOR_ALL + 27100, 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 BVERR_DSTGEOM_FORMAT = 115 BVERRDEF_VENDOR_ALL + 27200, 116 BVERR_DSTGEOM_STRIDE = 117 BVERRDEF_VENDOR_ALL + 27300, 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 BVERR_DSTGEOM_PALETTE = 120 BVERRDEF_VENDOR_ALL + 27400, 121 BVERR_DSTRECT = 122 BVERRDEF_VENDOR_ALL + 28000, 123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 BVERR_SRC1DESC = 125 BVERRDEF_VENDOR_ALL + 29000, 126 BVERR_SRC1DESC_VERS = 127 BVERRDEF_VENDOR_ALL + 29100, 128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129 BVERR_SRC1DESC_VIRTADDR = 130 BVERRDEF_VENDOR_ALL + 29200, 131 BVERR_SRC1DESC_LEN = 132 BVERRDEF_VENDOR_ALL + 29300, 133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134 BVERR_SRC1DESC_ALIGNMENT = 135 BVERRDEF_VENDOR_ALL + 29400, 136 BVERR_SRC1GEOM = 137 BVERRDEF_VENDOR_ALL + 30000, 138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139 BVERR_SRC1GEOM_VERS = 140 BVERRDEF_VENDOR_ALL + 30100, 141 BVERR_SRC1GEOM_FORMAT = 142 BVERRDEF_VENDOR_ALL + 30200, 143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 BVERR_SRC1GEOM_STRIDE = 145 BVERRDEF_VENDOR_ALL + 30300, 146 BVERR_SRC1GEOM_PALETTE = 147 BVERRDEF_VENDOR_ALL + 30400, 148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 BVERR_SRC1RECT = 150 BVERRDEF_VENDOR_ALL + 31000, 151 BVERR_SRC1_HORZSCALE = 152 BVERRDEF_VENDOR_ALL + 31100, 153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 BVERR_SRC1_VERTSCALE = 155 BVERRDEF_VENDOR_ALL + 31200, 156 BVERR_SRC1_ROT = 157 BVERRDEF_VENDOR_ALL + 31300, 158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159 BVERR_SRC1_TILEPARAMS = 160 BVERR_SRC1DESC, 161 BVERR_SRC1_TILE_VERS = 162 BVERRDEF_VENDOR_ALL + 32000, 163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 BVERR_SRC1_TILEPARAMS_VERS = 165 BVERR_SRC1_TILE_VERS, 166 BVERR_SRC1_TILE_FLAGS = 167 BVERRDEF_VENDOR_ALL + 32100, 168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 BVERR_SRC1_TILEPARAMS_FLAGS = 170 BVERR_SRC1_TILE_FLAGS, 171 BVERR_SRC1_TILE_VIRTADDR = 172 BVERR_SRC1DESC_VIRTADDR, 173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174 BVERR_SRC1_TILEPARAMS_VIRTADDR = 175 BVERR_SRC1_TILE_VIRTADDR, 176 BVERR_SRC1_TILE_ORIGIN = 177 BVERRDEF_VENDOR_ALL + 32200, 178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179 BVERR_SRC1_TILEPARAMS_ORIGIN = 180 BVERR_SRC1_TILE_ORIGIN, 181 BVERR_SRC1_TILE_SIZE = 182 BVERRDEF_VENDOR_ALL + 32300, 183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 BVERR_SRC1_TILEPARAMS_SIZE = 185 BVERR_SRC1_TILE_SIZE, 186 BVERR_SRC2DESC = 187 BVERRDEF_VENDOR_ALL + 33000, 188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189 BVERR_SRC2DESC_VERS = 190 BVERRDEF_VENDOR_ALL + 33100, 191 BVERR_SRC2DESC_VIRTADDR = 192 BVERRDEF_VENDOR_ALL + 33200, 193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 BVERR_SRC2DESC_LEN = 195 BVERRDEF_VENDOR_ALL + 33300, 196 BVERR_SRC2DESC_ALIGNMENT = 197 BVERRDEF_VENDOR_ALL + 33400, 198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 BVERR_SRC2GEOM = 200 BVERRDEF_VENDOR_ALL + 34000, 201 BVERR_SRC2GEOM_VERS = 202 BVERRDEF_VENDOR_ALL + 34100, 203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 BVERR_SRC2GEOM_FORMAT = 205 BVERRDEF_VENDOR_ALL + 34200, 206 BVERR_SRC2GEOM_STRIDE = 207 BVERRDEF_VENDOR_ALL + 34300, 208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209 BVERR_SRC2GEOM_PALETTE = 210 BVERRDEF_VENDOR_ALL + 34400, 211 BVERR_SRC2RECT = 212 BVERRDEF_VENDOR_ALL + 35000, 213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214 BVERR_SRC2_HORZSCALE = 215 BVERRDEF_VENDOR_ALL + 35100, 216 BVERR_SRC2_VERTSCALE = 217 BVERRDEF_VENDOR_ALL + 35200, 218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219 BVERR_SRC2_ROT = 220 BVERRDEF_VENDOR_ALL + 35300, 221 BVERR_SRC2_TILEPARAMS = 222 BVERR_SRC2DESC, 223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224 BVERR_SRC2_TILE_VERS = 225 BVERRDEF_VENDOR_ALL + 36000, 226 BVERR_SRC2_TILEPARAMS_VERS = 227 BVERR_SRC2_TILE_VERS, 228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229 BVERR_SRC2_TILE_FLAGS = 230 BVERRDEF_VENDOR_ALL + 36100, 231 BVERR_SRC2_TILEPARAMS_FLAGS = 232 BVERR_SRC2_TILE_FLAGS, 233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234 BVERR_SRC2_TILE_VIRTADDR = 235 BVERR_SRC2DESC_VIRTADDR, 236 BVERR_SRC2_TILEPARAMS_VIRTADDR = 237 BVERR_SRC2_TILE_VIRTADDR, 238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239 BVERR_SRC2_TILE_ORIGIN = 240 BVERRDEF_VENDOR_ALL + 36200, 241 BVERR_SRC2_TILEPARAMS_ORIGIN = 242 BVERR_SRC2_TILE_ORIGIN, 243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244 BVERR_SRC2_TILE_SIZE = 245 BVERRDEF_VENDOR_ALL + 36300, 246 BVERR_SRC2_TILEPARAMS_SIZE = 247 BVERR_SRC2_TILE_SIZE, 248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249 BVERR_MASKDESC = 250 BVERRDEF_VENDOR_ALL + 37000, 251 BVERR_MASKDESC_VERS = 252 BVERRDEF_VENDOR_ALL + 37100, 253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254 BVERR_MASKDESC_VIRTADDR = 255 BVERRDEF_VENDOR_ALL + 37200, 256 BVERR_MASKDESC_LEN = 257 BVERRDEF_VENDOR_ALL + 37300, 258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259 BVERR_MASKDESC_ALIGNMENT = 260 BVERRDEF_VENDOR_ALL + 37400, 261 BVERR_MASKGEOM = 262 BVERRDEF_VENDOR_ALL + 38000, 263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264 BVERR_MASKGEOM_VERS = 265 BVERRDEF_VENDOR_ALL + 38100, 266 BVERR_MASKGEOM_FORMAT = 267 BVERRDEF_VENDOR_ALL + 38200, 268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269 BVERR_MASKGEOM_STRIDE = 270 BVERRDEF_VENDOR_ALL + 38300, 271 BVERR_MASKGEOM_PALETTE = 272 BVERRDEF_VENDOR_ALL + 38400, 273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274 BVERR_MASKRECT = 275 BVERRDEF_VENDOR_ALL + 39000, 276 BVERR_MASK_HORZSCALE = 277 BVERRDEF_VENDOR_ALL + 39100, 278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 279 BVERR_MASK_VERTSCALE = 280 BVERRDEF_VENDOR_ALL + 39200, 281 BVERR_MASK_ROT = 282 BVERRDEF_VENDOR_ALL + 39300, 283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 284 BVERR_MASK_TILEPARAMS = 285 BVERR_MASKDESC, 286 BVERR_MASK_TILE_VERS = 287 BVERRDEF_VENDOR_ALL + 40000, 288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 289 BVERR_MASK_TILEPARAMS_VERS = 290 BVERR_MASK_TILE_VERS, 291 BVERR_MASK_TILE_FLAGS = 292 BVERRDEF_VENDOR_ALL + 40100, 293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 294 BVERR_MASK_TILEPARAMS_FLAGS = 295 BVERR_MASK_TILE_FLAGS, 296 BVERR_MASK_TILE_VIRTADDR = 297 BVERR_MASKDESC_VIRTADDR, 298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 299 BVERR_MASK_TILEPARAMS_VIRTADDR = 300 BVERR_MASK_TILE_VIRTADDR, 301 BVERR_MASK_TILE_ORIGIN = 302 BVERRDEF_VENDOR_ALL + 40200, 303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 304 BVERR_MASK_TILEPARAMS_ORIGIN = 305 BVERR_MASK_TILE_ORIGIN, 306 BVERR_MASK_TILE_SIZE = 307 BVERRDEF_VENDOR_ALL + 40300, 308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 309 BVERR_MASK_TILEPARAMS_SIZE = 310 BVERR_MASK_TILE_SIZE, 311 BVERR_CLIP_RECT = 312 BVERRDEF_VENDOR_ALL + 41000, 313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 314 BVERR_BATCH_FLAGS = 315 BVERRDEF_VENDOR_ALL + 42000, 316 BVERR_BATCH = 317 BVERRDEF_VENDOR_ALL + 43000, 318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 319 BVERR_OP_FAILED = 320 BVERRDEF_VENDOR_ALL + 50000, 321 BVERR_OP_INCOMPLETE = 322 BVERRDEF_VENDOR_ALL + 50001, 323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 324 BVERR_MEMORY_ERROR = 325 BVERRDEF_VENDOR_ALL + 51000, 326 #ifdef BVERR_EXTERNAL_INCLUDE 327 #include BVERR_EXTERNAL_INCLUDE 328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 329 #endif 330 }; 331 #endif 332