diff options
author | Iliyan Malchev <malchev@google.com> | 2009-10-29 22:55:00 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2009-10-30 18:35:47 -0700 |
commit | baef6141a3239c7dd9bad0e2cd8a9ece5eef5a7e (patch) | |
tree | 50df32f2a31006f4ea4572cffdf390012541027b /include/binder | |
parent | 05cb5610fdfb7b69cf90a9230853e59b4ae5e219 (diff) | |
download | frameworks_base-baef6141a3239c7dd9bad0e2cd8a9ece5eef5a7e.zip frameworks_base-baef6141a3239c7dd9bad0e2cd8a9ece5eef5a7e.tar.gz frameworks_base-baef6141a3239c7dd9bad0e2cd8a9ece5eef5a7e.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/binder')
-rw-r--r-- | include/binder/MemoryHeapBase.h | 3 |
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 }; /* |