mirror of https://github.com/xemu-project/xemu.git
export mmap_find_vma for shmat
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
This commit is contained in:
parent
72716184aa
commit
9ad197d95c
|
@ -281,7 +281,7 @@ unsigned long last_brk;
|
||||||
*/
|
*/
|
||||||
/* page_init() marks pages used by the host as reserved to be sure not
|
/* page_init() marks pages used by the host as reserved to be sure not
|
||||||
to use them. */
|
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;
|
abi_ulong addr, addr1, addr_start;
|
||||||
int prot;
|
int prot;
|
||||||
|
|
|
@ -229,6 +229,7 @@ int target_msync(abi_ulong start, abi_ulong len, int flags);
|
||||||
extern unsigned long last_brk;
|
extern unsigned long last_brk;
|
||||||
void mmap_lock(void);
|
void mmap_lock(void);
|
||||||
void mmap_unlock(void);
|
void mmap_unlock(void);
|
||||||
|
abi_ulong mmap_find_vma(abi_ulong, abi_ulong);
|
||||||
void cpu_list_lock(void);
|
void cpu_list_lock(void);
|
||||||
void cpu_list_unlock(void);
|
void cpu_list_unlock(void);
|
||||||
#if defined(USE_NPTL)
|
#if defined(USE_NPTL)
|
||||||
|
|
Loading…
Reference in New Issue