Home | History | Annotate | Download | only in linux
      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 BVBUFFDESC_H
     20 #define BVBUFFDESC_H
     21 struct bvbuffmap;
     22 #define BVATDEF_VENDOR_SHIFT 24
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define BVATDEF_VENDOR_MASK (0xFF << BVATDEF_VENDOR_SHIFT)
     25 #define BVATDEF_VENDOR_ALL (0x00 << BVATDEF_VENDOR_SHIFT)
     26 #define BVATDEF_VENDOR_TI (0x01 << BVATDEF_VENDOR_SHIFT)
     27 enum bvauxtype {
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29  BVAT_NONE = 0,
     30  BVAT_PHYSDESC =
     31  BVATDEF_VENDOR_ALL + 1,
     32 #ifdef BVAT_EXTERNAL_INCLUDE
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #include BVAT_EXTERNAL_INCLUDE
     35 #endif
     36 };
     37 struct bvphysdesc {
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  unsigned int structsize;
     40  unsigned long pagesize;
     41  unsigned long *pagearray;
     42  unsigned int pagecount;
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44  unsigned long pageoffset;
     45 };
     46 struct bvbuffdesc {
     47  unsigned int structsize;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  void *virtaddr;
     50  unsigned long length;
     51  struct bvbuffmap *map;
     52  enum bvauxtype auxtype;
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54  void *auxptr;
     55 };
     56 #endif
     57