Home | History | Annotate | Download | only in asm
      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 _ASM_MODULE_H
     20 #define _ASM_MODULE_H
     21 #include <linux/list.h>
     22 #include <asm/uaccess.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 struct mod_arch_specific {
     25  struct list_head dbe_list;
     26  const struct exception_table_entry *dbe_start;
     27  const struct exception_table_entry *dbe_end;
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 };
     30 typedef uint8_t Elf64_Byte;
     31 typedef struct {
     32  Elf64_Addr r_offset;
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  Elf64_Word r_sym;
     35  Elf64_Byte r_ssym;
     36  Elf64_Byte r_type3;
     37  Elf64_Byte r_type2;
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  Elf64_Byte r_type;
     40 } Elf64_Mips_Rel;
     41 typedef struct {
     42  Elf64_Addr r_offset;
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44  Elf64_Word r_sym;
     45  Elf64_Byte r_ssym;
     46  Elf64_Byte r_type3;
     47  Elf64_Byte r_type2;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  Elf64_Byte r_type;
     50  Elf64_Sxword r_addend;
     51 } Elf64_Mips_Rela;
     52 #define Elf_Shdr Elf32_Shdr
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define Elf_Sym Elf32_Sym
     55 #define Elf_Ehdr Elf32_Ehdr
     56 #define Elf_Addr Elf32_Addr
     57 #define Elf_Mips_Rel Elf32_Rel
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define Elf_Mips_Rela Elf32_Rela
     60 #define ELF_MIPS_R_SYM(rel) ELF32_R_SYM(rel.r_info)
     61 #define ELF_MIPS_R_TYPE(rel) ELF32_R_TYPE(rel.r_info)
     62 #error MODULE_PROC_FAMILY undefined for your processor configuration
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define MODULE_KERNEL_TYPE "32BIT "
     65 #define MODULE_KERNEL_SMTC ""
     66 #define MODULE_ARCH_VERMAGIC   MODULE_PROC_FAMILY MODULE_KERNEL_TYPE MODULE_KERNEL_SMTC
     67 #endif
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69