Commit 7ec93196fae7d07a8ba7cf226a3daef2c3144acc

Authored by j_mayer
1 parent be58fc7c

Fix invalid MAP_xxx flags for PowerPC targets.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3184 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 0 deletions
linux-user/syscall_defs.h
... ... @@ -865,9 +865,14 @@ struct target_winsize {
865 865 #define TARGET_MAP_GROWSDOWN 0x0100 /* stack-like segment */
866 866 #define TARGET_MAP_DENYWRITE 0x0800 /* ETXTBSY */
867 867 #define TARGET_MAP_EXECUTABLE 0x1000 /* mark it as an executable */
  868 +#if defined(TARGET_PPC)
  869 +#define TARGET_MAP_LOCKED 0x0080 /* pages are locked */
  870 +#define TARGET_MAP_NORESERVE 0x0040 /* don't check for reservations */
  871 +#else
868 872 #define TARGET_MAP_LOCKED 0x2000 /* pages are locked */
869 873 #define TARGET_MAP_NORESERVE 0x4000 /* don't check for reservations */
870 874 #endif
  875 +#endif
871 876  
872 877 #if defined(TARGET_I386) || defined(TARGET_ARM)
873 878 struct target_stat {
... ...