summaryrefslogtreecommitdiffstats
path: root/8/platforms/android-8/arch-x86/usr/include/linux/ashmem.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-10-11 12:22:19 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-10-11 12:23:25 +0800
commit0fd55ba58eee50c65bc52ce44f7374e91ac83b54 (patch)
tree86d25aa684aa712602a2875c5606d9a47679e3c7 /8/platforms/android-8/arch-x86/usr/include/linux/ashmem.h
parentc6b0a84bb565b9f6a124a9a43e5a2f4473ddde54 (diff)
downloadprebuilts_ndk-0fd55ba58eee50c65bc52ce44f7374e91ac83b54.zip
prebuilts_ndk-0fd55ba58eee50c65bc52ce44f7374e91ac83b54.tar.gz
prebuilts_ndk-0fd55ba58eee50c65bc52ce44f7374e91ac83b54.tar.bz2
Refresh prebuilts/ndk/android-ndk-r8 with content of r8c
Mostly notable change is the removal of arch-x86 and arch-mips headers from platforms/android-{3,4,5,8}. Those headers are imcomplete to begin with, since both X86 and MIPS ABIs are only supported at API > 8 Other fixes (excerpts from docs/CHANGES.html) 1. Fixed arch-mips/include/asm/* previously incorrectly cleaned from original kernel See https://android-review.googlesource.com/#/c/43335 2. Replace struct member data "__unused" with "__linux_unused" in linux/sysctl.h and linux/icmp.h to avoid conflict with "#define __unused" in sys/cdefs.h 3. Fixed fenv.h to enclosed C functions with __BEGIN_DECLS/__END_DECLS 4. Removed unimplemented functions in malloc.h 5. Fixed stdint.h. See http://code.google.com/p/android/issues/detail?id=1952 6. Fixed preprocessor macros in &lt;arch&gt;/include/machine/* 7. Replaced link.h for mips with new version for all platforms 8. Remove linux-unistd.h Change-Id: I35f120a870afe25a2d105a2cdbb957f0d40b60e9
Diffstat (limited to '8/platforms/android-8/arch-x86/usr/include/linux/ashmem.h')
-rw-r--r--8/platforms/android-8/arch-x86/usr/include/linux/ashmem.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/8/platforms/android-8/arch-x86/usr/include/linux/ashmem.h b/8/platforms/android-8/arch-x86/usr/include/linux/ashmem.h
deleted file mode 100644
index a57d1de..0000000
--- a/8/platforms/android-8/arch-x86/usr/include/linux/ashmem.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
- ****************************************************************************
- ***
- *** 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.
- ***
- ****************************************************************************
- ****************************************************************************/
-#ifndef _LINUX_ASHMEM_H
-#define _LINUX_ASHMEM_H
-
-#include <linux/limits.h>
-#include <linux/ioctl.h>
-
-#define ASHMEM_NAME_LEN 256
-
-#define ASHMEM_NAME_DEF "dev/ashmem"
-
-#define ASHMEM_NOT_PURGED 0
-#define ASHMEM_WAS_PURGED 1
-
-#define ASHMEM_IS_UNPINNED 0
-#define ASHMEM_IS_PINNED 1
-
-struct ashmem_pin {
- __u32 offset;
- __u32 len;
-};
-
-#define __ASHMEMIOC 0x77
-
-#define ASHMEM_SET_NAME _IOW(__ASHMEMIOC, 1, char[ASHMEM_NAME_LEN])
-#define ASHMEM_GET_NAME _IOR(__ASHMEMIOC, 2, char[ASHMEM_NAME_LEN])
-#define ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, size_t)
-#define ASHMEM_GET_SIZE _IO(__ASHMEMIOC, 4)
-#define ASHMEM_SET_PROT_MASK _IOW(__ASHMEMIOC, 5, unsigned long)
-#define ASHMEM_GET_PROT_MASK _IO(__ASHMEMIOC, 6)
-#define ASHMEM_PIN _IOW(__ASHMEMIOC, 7, struct ashmem_pin)
-#define ASHMEM_UNPIN _IOW(__ASHMEMIOC, 8, struct ashmem_pin)
-#define ASHMEM_GET_PIN_STATUS _IO(__ASHMEMIOC, 9)
-#define ASHMEM_PURGE_ALL_CACHES _IO(__ASHMEMIOC, 10)
-
-#endif