Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl
Commits: fc265b2a by Raymond Toy at 2017-01-02T14:55:58-08:00 Add stack-bias constant
- - - - -
1 changed file:
- src/compiler/sparc64/parms.lisp
Changes:
===================================== src/compiler/sparc64/parms.lisp ===================================== --- a/src/compiler/sparc64/parms.lisp +++ b/src/compiler/sparc64/parms.lisp @@ -204,6 +204,14 @@ (defconstant number-stack-displacement (* 16 vm:word-bytes))
+;;; STACK-BIAS +;;; +;;; The bias on the stack pointer (%sp) to get to the real top of +;;; stack. 64-bit applications have a bias on the stack (apparently +;;; to let the kernel easily tell if the application is a 32-bit or +;;; 64-bit app). +(defconstant stack-bias 2047) + ;;;; Description of the target address space.
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/fc265b2a399cd15ecb0fe96d42...