diff options
author | dfr <dfr@FreeBSD.org> | 1998-12-30 10:38:59 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-12-30 10:38:59 +0000 |
commit | 9aad9d912f0ea64471669ecde4beea9e9ead4989 (patch) | |
tree | 26f76c3cf94310fcb261c62fe3f86fbe1b71440e /sys/kern/init_main.c | |
parent | 14201fe4faa19db2e4da4f4944573149b4654cb8 (diff) | |
download | FreeBSD-src-9aad9d912f0ea64471669ecde4beea9e9ead4989.zip FreeBSD-src-9aad9d912f0ea64471669ecde4beea9e9ead4989.tar.gz |
Various changes to support OSF1 emulation:
* Move the user stack from VM_MAXUSER_ADDRESS to a place below the 32bit
boundary (needed to support 32bit OSF programs). This should also save
one pagetable per process.
* Add cvtqlsv to the set of instructions handled by the floating point
software completion code.
* Disable all floating point exceptions by default.
* A minor change to execve to allow the OSF1 image activator to support
dynamic loading.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 609e001..9269b26 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id: init_main.c,v 1.100 1998/12/19 02:55:33 julian Exp $ + * $Id: init_main.c,v 1.101 1998/12/19 08:23:31 julian Exp $ */ #include "opt_devfs.h" @@ -636,7 +636,7 @@ start_init(p) /* * Need just enough stack to hold the faked-up "execve()" arguments. */ - addr = trunc_page(VM_MAXUSER_ADDRESS - PAGE_SIZE); + addr = trunc_page(USRSTACK - PAGE_SIZE); if (vm_map_find(&p->p_vmspace->vm_map, NULL, 0, &addr, PAGE_SIZE, FALSE, VM_PROT_ALL, VM_PROT_ALL, 0) != 0) panic("init: couldn't allocate argument space"); p->p_vmspace->vm_maxsaddr = (caddr_t)addr; |