diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-09-08 16:44:01 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-09-13 20:35:45 +0200 |
commit | 5423e6d3a416342ee5857d02688c30b776574b66 (patch) | |
tree | 515dc3286f3ed42a51fd78cec23c9a653fa3b2ed /linux-user/qemu.h | |
parent | 3ad0a76928df01726e5872b8530d8e1eaa1a971d (diff) |
linux-user: Split mmap prototypes into user-mmap.h
Split out the mmap prototypes into a new header user-mmap.h
which we only include where required.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210908154405.15417-6-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r-- | linux-user/qemu.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 02c4778c97..0cb7999057 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -389,20 +389,6 @@ void sparc64_set_context(CPUSPARCState *env); void sparc64_get_context(CPUSPARCState *env); #endif -/* mmap.c */ -int target_mprotect(abi_ulong start, abi_ulong len, int prot); -abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, - int flags, int fd, abi_ulong offset); -int target_munmap(abi_ulong start, abi_ulong len); -abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size, - abi_ulong new_size, unsigned long flags, - abi_ulong new_addr); -extern unsigned long last_brk; -extern abi_ulong mmap_next_start; -abi_ulong mmap_find_vma(abi_ulong, abi_ulong, abi_ulong); -void mmap_fork_start(void); -void mmap_fork_end(int child); - /* user access */ #define VERIFY_READ PAGE_READ |