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_LINUX_FLAT_H 20 #define _UAPI_LINUX_FLAT_H 21 #define FLAT_VERSION 0x00000004L 22 #define MAX_SHARED_LIBS (1) 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 struct flat_hdr { 25 char magic[4]; 26 unsigned long rev; 27 unsigned long entry; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 unsigned long data_start; 30 unsigned long data_end; 31 unsigned long bss_end; 32 unsigned long stack_size; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 unsigned long reloc_start; 35 unsigned long reloc_count; 36 unsigned long flags; 37 unsigned long build_date; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 unsigned long filler[5]; 40 }; 41 #define FLAT_FLAG_RAM 0x0001 42 #define FLAT_FLAG_GOTPIC 0x0002 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define FLAT_FLAG_GZIP 0x0004 45 #define FLAT_FLAG_GZDATA 0x0008 46 #define FLAT_FLAG_KTRACE 0x0010 47 #endif 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49