Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 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_SN_KLDIR_H |
| 20 | #define _ASM_SN_KLDIR_H |
| 21 | #define KLDIR_MAGIC 0x434d5f53505f5357 |
| 22 | #ifdef __ASSEMBLY__ |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | #define KLDIR_OFF_MAGIC 0x00 |
| 25 | #define KLDIR_OFF_OFFSET 0x08 |
| 26 | #define KLDIR_OFF_POINTER 0x10 |
| 27 | #define KLDIR_OFF_SIZE 0x18 |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | #define KLDIR_OFF_COUNT 0x20 |
| 30 | #define KLDIR_OFF_STRIDE 0x28 |
| 31 | #endif |
| 32 | #define SYMMON_STACK_SIZE 0x8000 |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | #ifdef PROM |
| 35 | #define IP27_LAUNCH_OFFSET 0x2400 |
| 36 | #define IP27_LAUNCH_SIZE 0x400 |
| 37 | #define IP27_LAUNCH_COUNT 2 |
| 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 39 | #define IP27_LAUNCH_STRIDE 0x200 |
| 40 | #define IP27_KLCONFIG_OFFSET 0x4000 |
| 41 | #define IP27_KLCONFIG_SIZE 0xc000 |
| 42 | #define IP27_KLCONFIG_COUNT 1 |
| 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 44 | #define IP27_KLCONFIG_STRIDE 0 |
| 45 | #define IP27_NMI_OFFSET 0x3000 |
| 46 | #define IP27_NMI_SIZE 0x40 |
| 47 | #define IP27_NMI_COUNT 2 |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 49 | #define IP27_NMI_STRIDE 0x40 |
| 50 | #define IP27_PI_ERROR_OFFSET 0x12000 |
| 51 | #define IP27_PI_ERROR_SIZE 0x4000 |
| 52 | #define IP27_PI_ERROR_COUNT 1 |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 54 | #define IP27_PI_ERROR_STRIDE 0 |
| 55 | #define IP27_SYMMON_STK_OFFSET 0x25000 |
| 56 | #define IP27_SYMMON_STK_SIZE 0xe000 |
| 57 | #define IP27_SYMMON_STK_COUNT 2 |
| 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 59 | #define IP27_SYMMON_STK_STRIDE 0x7000 |
| 60 | #define IP27_FREEMEM_OFFSET 0x19000 |
| 61 | #define IP27_FREEMEM_SIZE -1 |
| 62 | #define IP27_FREEMEM_COUNT 1 |
| 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 64 | #define IP27_FREEMEM_STRIDE 0 |
| 65 | #endif |
| 66 | #define IO6_GDA_OFFSET 0x11000 |
| 67 | #define IO6_GDA_SIZE 0x400 |
| 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 69 | #define IO6_GDA_COUNT 1 |
| 70 | #define IO6_GDA_STRIDE 0 |
| 71 | #define IP27_NMI_KREGS_OFFSET 0x11400 |
| 72 | #define IP27_NMI_KREGS_CPU_SIZE 0x200 |
| 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 74 | #define IP27_NMI_EFRAME_OFFSET 0x11800 |
| 75 | #define IP27_NMI_EFRAME_SIZE 0x200 |
| 76 | #define KLDIR_ENT_SIZE 0x40 |
| 77 | #define KLDIR_MAX_ENTRIES (0x400 / 0x40) |
| 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 79 | #ifndef __ASSEMBLY__ |
| 80 | typedef struct kldir_ent_s { |
| 81 | u64 magic; |
Raghu Gandham | a864c2c | 2013-01-16 16:42:47 -0800 | [diff] [blame] | 82 | __kernel_off_t offset; |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 84 | unsigned long pointer; |
| 85 | size_t size; |
| 86 | u64 count; |
| 87 | size_t stride; |
| 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 89 | char rsvd[16]; |
| 90 | } kldir_ent_t; |
| 91 | #endif |
| 92 | #endif |
| 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |