From: Riku Voipio Date: Tue, 21 Apr 2009 14:23:23 +0000 (+0300) Subject: export mmap_find_vma for shmat X-Git-Tag: TizenStudio_2.0_p2.3~8693 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49d397d05854f54138ce721ad61bb61f784fe019;p=sdk%2Femulator%2Fqemu.git export mmap_find_vma for shmat Signed-off-by: Riku Voipio --- diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 6f300a0..aa5813f 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -281,7 +281,7 @@ unsigned long last_brk; */ /* page_init() marks pages used by the host as reserved to be sure not to use them. */ -static abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size) +abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size) { abi_ulong addr, addr1, addr_start; int prot; diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 9454e66..d83a2a4 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -229,6 +229,7 @@ int target_msync(abi_ulong start, abi_ulong len, int flags); extern unsigned long last_brk; void mmap_lock(void); void mmap_unlock(void); +abi_ulong mmap_find_vma(abi_ulong, abi_ulong); void cpu_list_lock(void); void cpu_list_unlock(void); #if defined(USE_NPTL)