diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-10-20 05:34:10 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-10-20 05:34:10 +0000 |
commit | bab1f052779c64315e155e583ce154e8d8c9ce2f (patch) | |
tree | 3409a1506bfecdecf0c8b12f9cfaeef218a87a1e /sys/kern/kern_exec.c | |
parent | 3ad8097fd44b1508fa076ac40639ed198a54232a (diff) | |
download | src-bab1f052779c64315e155e583ce154e8d8c9ce2f.tar.gz src-bab1f052779c64315e155e583ce154e8d8c9ce2f.zip |
Put the RSE backing store at a fixed address. This change is triggered
by libguile that needs to know the base of the RSE backing store. We
currently do not export the fixed address to userland by means of a
sysctl so user code needs to hardcode it for now. This will be revisited
later.
The RSE backing store is now at the bottom of region 4. The memory stack
is at the top of region 4. This means that the whole region is usable
for the stacks, giving a 61-bit stack space.
Port: lang/guile (depended of x11/gnome2)
Notes
Notes:
svn path=/head/; revision=121268
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index fde4ee487731..b2ce458aaf0a 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -868,7 +868,7 @@ exec_new_vmspace(imgp, sv) #ifdef __ia64__ /* Allocate a new register stack */ - stack_addr = sv->sv_usrstack - 2 * maxssiz; + stack_addr = IA64_BACKINGSTORE; error = vm_map_stack(map, stack_addr, (vm_size_t)maxssiz, sv->sv_stackprot, VM_PROT_ALL, MAP_STACK_GROWS_UP); if (error) |