summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-21/arch-arm/usr/include/linux/kexec.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-10-21 16:32:42 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2014-10-30 11:53:46 -0700
commitb8a3ce7833113135d7ce573aa52433351bb6e14b (patch)
tree3645a107c5557215e74fa95418fc4b54e1f67b81 /9/platforms/android-21/arch-arm/usr/include/linux/kexec.h
parentb8b71b64c959c6074ece0b5f7ba435cc09b86999 (diff)
downloadprebuilts_ndk-b8a3ce7833113135d7ce573aa52433351bb6e14b.zip
prebuilts_ndk-b8a3ce7833113135d7ce573aa52433351bb6e14b.tar.gz
prebuilts_ndk-b8a3ce7833113135d7ce573aa52433351bb6e14b.tar.bz2
Add real android-21 32-bit headers/libs
Also corret __ANDROID_API__ in 64-bit android/api-level.h Change-Id: Ia7f82f07d70eebb2daa62e03c227091b74d05fb6
Diffstat (limited to '9/platforms/android-21/arch-arm/usr/include/linux/kexec.h')
-rw-r--r--9/platforms/android-21/arch-arm/usr/include/linux/kexec.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/9/platforms/android-21/arch-arm/usr/include/linux/kexec.h b/9/platforms/android-21/arch-arm/usr/include/linux/kexec.h
new file mode 100644
index 0000000..a17dc23
--- /dev/null
+++ b/9/platforms/android-21/arch-arm/usr/include/linux/kexec.h
@@ -0,0 +1,50 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ *** To edit the content of this header, modify the corresponding
+ *** source file (e.g. under external/kernel-headers/original/) then
+ *** run bionic/libc/kernel/tools/update_all.py
+ ***
+ *** Any manual change here will be lost the next time this script will
+ *** be run. You've been warned!
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _UAPILINUX_KEXEC_H
+#define _UAPILINUX_KEXEC_H
+#include <linux/types.h>
+#define KEXEC_ON_CRASH 0x00000001
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#define KEXEC_PRESERVE_CONTEXT 0x00000002
+#define KEXEC_ARCH_MASK 0xffff0000
+#define KEXEC_ARCH_DEFAULT ( 0 << 16)
+#define KEXEC_ARCH_386 ( 3 << 16)
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#define KEXEC_ARCH_68K ( 4 << 16)
+#define KEXEC_ARCH_X86_64 (62 << 16)
+#define KEXEC_ARCH_PPC (20 << 16)
+#define KEXEC_ARCH_PPC64 (21 << 16)
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#define KEXEC_ARCH_IA_64 (50 << 16)
+#define KEXEC_ARCH_ARM (40 << 16)
+#define KEXEC_ARCH_S390 (22 << 16)
+#define KEXEC_ARCH_SH (42 << 16)
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#define KEXEC_ARCH_MIPS_LE (10 << 16)
+#define KEXEC_ARCH_MIPS ( 8 << 16)
+#define KEXEC_SEGMENT_MAX 16
+struct kexec_segment {
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+ const void *buf;
+ size_t bufsz;
+ const void *mem;
+ size_t memsz;
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+};
+#endif