]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Provide MADV_* definitions
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 6 Sep 2022 00:08:35 +0000 (02:08 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 27 Sep 2022 07:30:09 +0000 (09:30 +0200)
commit9f22020b91ae235be2b27c47d11e842872ec5e85
tree46c13e367d65343cfc413bd0ee055b156c24f41f
parent811ee5cfc5da2e0b94eb11192ce2700fcd7063d1
linux-user: Provide MADV_* definitions

Provide MADV_* definitions using target_mman.h header, similar to what
kernel does. Most architectures use the same values, with the exception
of alpha and hppa.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220906000839.1672934-2-iii@linux.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
22 files changed:
linux-user/aarch64/target_mman.h [new file with mode: 0644]
linux-user/alpha/target_mman.h [new file with mode: 0644]
linux-user/arm/target_mman.h [new file with mode: 0644]
linux-user/cris/target_mman.h [new file with mode: 0644]
linux-user/generic/target_mman.h [new file with mode: 0644]
linux-user/hexagon/target_mman.h [new file with mode: 0644]
linux-user/hppa/target_mman.h [new file with mode: 0644]
linux-user/i386/target_mman.h [new file with mode: 0644]
linux-user/loongarch64/target_mman.h [new file with mode: 0644]
linux-user/m68k/target_mman.h [new file with mode: 0644]
linux-user/microblaze/target_mman.h [new file with mode: 0644]
linux-user/mips/target_mman.h [new file with mode: 0644]
linux-user/mips64/target_mman.h [new file with mode: 0644]
linux-user/nios2/target_mman.h [new file with mode: 0644]
linux-user/openrisc/target_mman.h [new file with mode: 0644]
linux-user/ppc/target_mman.h [new file with mode: 0644]
linux-user/riscv/target_mman.h [new file with mode: 0644]
linux-user/s390x/target_mman.h [new file with mode: 0644]
linux-user/sh4/target_mman.h [new file with mode: 0644]
linux-user/sparc/target_mman.h [new file with mode: 0644]
linux-user/x86_64/target_mman.h [new file with mode: 0644]
linux-user/xtensa/target_mman.h [new file with mode: 0644]