[Git][cmucl/cmucl][sparc64-dev] Add stack-bias constant
Raymond Toy
rtoy at common-lisp.net
Mon Jan 2 22:56:13 UTC 2017
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/fc265b2a399cd15ecb0fe96d42cc7deceb58896b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20170102/104c848d/attachment-0001.html>
More information about the cmucl-cvs
mailing list