summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2009-10-29 22:55:00 -0700
committerIliyan Malchev <malchev@google.com>2009-10-30 18:35:47 -0700
commit0db1a8931bb24b4f240c19210e70844af8c1e9ff (patch)
treeb45e2140c8dd6ebde5b6173f4f71b2da1e2daea1 /include
parentdb95a9e824f51c39a40833ee3c80daf6b6af3247 (diff)
downloadframeworks_native-0db1a8931bb24b4f240c19210e70844af8c1e9ff.zip
frameworks_native-0db1a8931bb24b4f240c19210e70844af8c1e9ff.tar.gz
frameworks_native-0db1a8931bb24b4f240c19210e70844af8c1e9ff.tar.bz2
libbinder: add a NO_CACHING flag to MemoryHeapBase
The NO_CACHING flag translates to opening a memory region with O_SYNC. Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/binder/MemoryHeapBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/binder/MemoryHeapBase.h b/include/binder/MemoryHeapBase.h
index 435540e..d793c24 100644
--- a/include/binder/MemoryHeapBase.h
+++ b/include/binder/MemoryHeapBase.h
@@ -35,7 +35,8 @@ public:
MAP_ONCE = IMemoryHeap::MAP_ONCE,
// memory won't be mapped locally, but will be mapped in the remote
// process.
- DONT_MAP_LOCALLY = 0x00000100
+ DONT_MAP_LOCALLY = 0x00000100,
+ NO_CACHING = 0x00000200
};
/*