Skip to content
Snippets Groups Projects
Commit 9c9b5d7b authored by Helge Deller's avatar Helge Deller Committed by Laurent Vivier
Browse files

linux-user/hppa: Set TASK_UNMAPPED_BASE to 0xfa000000 for hppa arch


On the parisc architecture the stack grows upwards.
Move the TASK_UNMAPPED_BASE to high memory area as it's done by the
kernel on physical machines.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Message-Id: <20220918194555.83535-9-deller@gmx.de>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 105d599a
No related branches found
No related tags found
No related merge requests found
......@@ -253,8 +253,12 @@ static int mmap_frag(abi_ulong real_start,
# define TASK_UNMAPPED_BASE (1ul << 38)
#endif
#else
#ifdef TARGET_HPPA
# define TASK_UNMAPPED_BASE 0xfa000000
#else
# define TASK_UNMAPPED_BASE 0x40000000
#endif
#endif
abi_ulong mmap_next_start = TASK_UNMAPPED_BASE;
unsigned long last_brk;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment