fe080593dd
msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ between platforms, specifcally on alpha and hppa. Add a target to host translation for those and wire up a nicer strace output. This fixes the testsuite of the macaulay2 debian package with a hppa-linux guest on a x86-64 host. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <Y5rMcts4qe15RaVN@p100> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
20 lines
447 B
C
20 lines
447 B
C
#ifndef HPPA_TARGET_MMAN_H
|
|
#define HPPA_TARGET_MMAN_H
|
|
|
|
#define TARGET_MADV_MERGEABLE 65
|
|
#define TARGET_MADV_UNMERGEABLE 66
|
|
#define TARGET_MADV_HUGEPAGE 67
|
|
#define TARGET_MADV_NOHUGEPAGE 68
|
|
#define TARGET_MADV_DONTDUMP 69
|
|
#define TARGET_MADV_DODUMP 70
|
|
#define TARGET_MADV_WIPEONFORK 71
|
|
#define TARGET_MADV_KEEPONFORK 72
|
|
|
|
#define TARGET_MS_SYNC 1
|
|
#define TARGET_MS_ASYNC 2
|
|
#define TARGET_MS_INVALIDATE 4
|
|
|
|
#include "../generic/target_mman.h"
|
|
|
|
#endif
|