diff options
author | Larry Bassel <lbassel@quicinc.com> | 2009-06-17 14:27:39 -0700 |
---|---|---|
committer | Colbert, Varun <c_vcolbe@quicinc.com> | 2009-06-21 23:43:45 -0700 |
commit | d4defef73ddb83eb93c212235abeccf227b024c8 (patch) | |
tree | d64596a999559a97e94a5887af405f3180814894 /libc/kernel | |
parent | b77f3925019a98f05f123d0e13eb0154f237da13 (diff) | |
download | bionic-d4defef73ddb83eb93c212235abeccf227b024c8.zip bionic-d4defef73ddb83eb93c212235abeccf227b024c8.tar.gz bionic-d4defef73ddb83eb93c212235abeccf227b024c8.tar.bz2 |
Bionic: sync kernel changes in android_pmem.h to bionic
Signed-off-by: Larry Bassel <lbassel@quicinc.com>
Diffstat (limited to 'libc/kernel')
-rw-r--r-- | libc/kernel/common/linux/android_pmem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/android_pmem.h b/libc/kernel/common/linux/android_pmem.h index 858857e..230310e 100644 --- a/libc/kernel/common/linux/android_pmem.h +++ b/libc/kernel/common/linux/android_pmem.h @@ -23,6 +23,12 @@ struct pmem_region { unsigned long len; }; +struct pmem_addr { + unsigned long vaddr; + unsigned long offset; + unsigned long length; +}; + #define PMEM_IOCTL_MAGIC 'p' #define PMEM_GET_PHYS _IOW(PMEM_IOCTL_MAGIC, 1, struct pmem_region *) #define PMEM_MAP _IOW(PMEM_IOCTL_MAGIC, 2, struct pmem_region *) @@ -39,6 +45,10 @@ struct pmem_region { #define HW3D_GRANT_GPU _IOW(PMEM_IOCTL_MAGIC, 9, unsigned int) #define HW3D_WAIT_IRQ _IOW(PMEM_IOCTL_MAGIC,10, unsigned int) +#define PMEM_CLEAN_INV_CACHES _IOW(PMEM_IOCTL_MAGIC, 11, unsigned int) +#define PMEM_CLEAN_CACHES _IOW(PMEM_IOCTL_MAGIC, 12, unsigned int) +#define PMEM_INV_CACHES _IOW(PMEM_IOCTL_MAGIC, 13, unsigned int) + struct android_pmem_platform_data; struct pmem_file_operations { int (*mmap) (struct file *, struct vm_area_struct *); |