Update of /cvsroot/sbcl/sbcl/src/compiler/x86
In directory usw-pr-cvs1:/tmp/cvs-serv22592/src/compiler/x86
Modified Files:
parms.lisp
Log Message:
0.7.6.1:
Mostly-tested but still considered "experimental" non-invasive
stack exhaustion checking, using a guard page at the end of the
stack and an extra clause in the sigsegv (on some ports, sigbus)
handler. One day there will be an internals doc with the
gory details: for now, try http://ww.telent.net/diary/2002/7/#23.59392
Index: parms.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/compiler/x86/parms.lisp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- parms.lisp 9 Jul 2002 14:18:40 -0000 1.29
+++ parms.lisp 23 Jul 2002 17:22:37 -0000 1.30
@@ -148,7 +148,8 @@
(def!constant control-stack-end #x57fff000)
(def!constant binding-stack-start #x60000000)
- (def!constant binding-stack-end #x67fff000))
+ (def!constant binding-stack-end #x67fff000)
+ (def!constant alternate-signal-stack-start #x58000000))
#!+bsd
(progn
@@ -168,12 +169,19 @@
#!+freebsd #x40000000
#!+openbsd #x48000000)
(def!constant control-stack-end
- #!+freebsd #x47fff000
- #!+openbsd #x4ffff000)
+ #!+freebsd #x43fff000
+ #!+openbsd #x4bfff000)
(def!constant dynamic-space-start
- #!+freebsd #x48000000
- #!+openbsd #x50000000)
- (def!constant dynamic-space-end #x88000000))
+ #!+freebsd #x48000000
+ #!+openbsd #x50000000)
+ (def!constant dynamic-space-end #x88000000)
+ (def!constant alternate-signal-stack-start
+ #!+freebsd #x44000000
+ #!+openbsd #x4c000000))
+
+
+;;; don't need alternate-signal-stack-end : it's -start+SIGSTKSZ
+
;;; Given that NIL is the first thing allocated in static space, we
;;; know its value at compile time:
@@ -230,9 +238,11 @@
;; The C startup code must fill these in.
*posix-argv*
- ;; functions that the C code needs to call
+ ;; functions that the C code needs to call. When adding to this list,
+ ;; also add a `frob' form in genesis.lisp finish-symbols.
maybe-gc
sb!kernel::internal-error
+ sb!kernel::control-stack-exhausted-error
sb!di::handle-breakpoint
fdefinition-object
|