diff options
author | David Ng <dng@quicinc.com> | 2010-05-04 18:12:30 -0700 |
---|---|---|
committer | QuIC Gerrit Code Review <gerrit@quicinc.com> | 2010-05-04 18:12:30 -0700 |
commit | b6926749fb223f0c3f5283318784b5f4da2c47e2 (patch) | |
tree | 13c978117d0b8536c586d37ea0aa88b50e69a292 | |
parent | 7fa46725abe98cfe7f4b7ba0c284ab043d3194f8 (diff) | |
parent | cd890bafcb1034d8e4d1ddcbffd86b1e2359b35a (diff) | |
download | bionic-Q8650DTBCANLYA2010.zip bionic-Q8650DTBCANLYA2010.tar.gz bionic-Q8650DTBCANLYA2010.tar.bz2 |
Merge "bionic: Updating android_pmem.h to reflect changes in corresponding kernel header file." into eclairQ8650DTBCANLYA201001Q8650DTBCANLYA2010M8660AAABQNLYA1035M8660AAABQNLYA1030M8660AAABQNLYA1001M76XXTSNCJNLYA6005M7630AABBQVLZA0040M7630AABBQVLZA0030M7630AABBQVLZA0021M7630AABBQVLZA0020DpTag1
-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 |