diff options
author | Naveen Ramaraj <nramaraj@quicinc.com> | 2010-04-27 14:33:06 -0700 |
---|---|---|
committer | Naveen Ramaraj <nramaraj@quicinc.com> | 2010-05-04 09:44:52 -0700 |
commit | cd890bafcb1034d8e4d1ddcbffd86b1e2359b35a (patch) | |
tree | d3b1f9f2b33e24f6028808e1c6076b46f9750326 | |
parent | 6d64f88a498ac719467f5e2c6fe01373e99e7e67 (diff) | |
download | bionic-cd890bafcb1034d8e4d1ddcbffd86b1e2359b35a.zip bionic-cd890bafcb1034d8e4d1ddcbffd86b1e2359b35a.tar.gz bionic-cd890bafcb1034d8e4d1ddcbffd86b1e2359b35a.tar.bz2 |
bionic: Updating android_pmem.h to reflect changes in corresponding kernel header file.
Change-Id: I0c401442e17428095833647fc67d67ee13efbf9f
-rw-r--r-- | libc/kernel/common/linux/android_pmem.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libc/kernel/common/linux/android_pmem.h b/libc/kernel/common/linux/android_pmem.h index bc980c8..a729deb 100644 --- a/libc/kernel/common/linux/android_pmem.h +++ b/libc/kernel/common/linux/android_pmem.h @@ -41,6 +41,8 @@ #define PMEM_CLEAN_CACHES _IOW(PMEM_IOCTL_MAGIC, 12, unsigned int) #define PMEM_INV_CACHES _IOW(PMEM_IOCTL_MAGIC, 13, unsigned int) +#define PMEM_GET_FREE_SPACE _IOW(PMEM_IOCTL_MAGIC, 14, unsigned int) +#define PMEM_ALLOCATE_ALIGNED _IOW(PMEM_IOCTL_MAGIC, 15, unsigned int) struct pmem_region { unsigned long offset; unsigned long len; @@ -52,5 +54,14 @@ struct pmem_addr { unsigned long length; }; -#endif +struct pmem_freespace { + unsigned long total; + unsigned long largest; +}; +struct pmem_allocation { + unsigned long size; + unsigned int align; +}; + +#endif |