From 5c42c29b89286e5efa4a4613132b09051ce5945b Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 25 Feb 2015 12:02:49 +0000 Subject: Add support for .bss section in oat files. Change-Id: I779b80b8139d9afdc28373f8c68edff5df7726ce --- runtime/mem_map.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/mem_map.h') diff --git a/runtime/mem_map.h b/runtime/mem_map.h index dc337e0..11b2569 100644 --- a/runtime/mem_map.h +++ b/runtime/mem_map.h @@ -54,6 +54,7 @@ class MemMap { public: // Request an anonymous region of length 'byte_count' and a requested base address. // Use NULL as the requested base address if you don't care. + // "reuse" allows re-mapping an address range from an existing mapping. // // The word "anonymous" in this context means "not backed by a file". The supplied // 'ashmem_name' will be used -- on systems that support it -- to give the mapping @@ -61,7 +62,7 @@ class MemMap { // // On success, returns returns a MemMap instance. On failure, returns a NULL; static MemMap* MapAnonymous(const char* ashmem_name, uint8_t* addr, size_t byte_count, int prot, - bool low_4gb, std::string* error_msg); + bool low_4gb, bool reuse, std::string* error_msg); // Map part of a file, taking care of non-page aligned offsets. The // "start" offset is absolute, not relative. -- cgit v1.1