Skip to content
Snippets Groups Projects
Commit 5eb286d6 authored by wlott's avatar wlott
Browse files

On the sparc, reserve addresses #x20000000 thru #xDFFFFFFF so that MACH

doesn't think they can be used for other things.
parent 782e0708
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/mach-os.lisp,v 1.10 1993/02/07 21:17:31 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/mach-os.lisp,v 1.11 1993/03/17 12:25:04 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -39,7 +39,9 @@ ...@@ -39,7 +39,9 @@
(defvar *task-self*) (defvar *task-self*)
(defun os-init () (defun os-init ()
(setf *task-self* (mach:mach-task_self))) (setf *task-self* (mach:mach-task_self))
#+sparc ;; Can't use #x20000000 thru #xDFFFFFFF, but mach tries to let us.
(system:allocate-system-memory-at (system:int-sap #x20000000) #xc0000000))
;;; GET-SYSTEM-INFO -- Interface ;;; GET-SYSTEM-INFO -- Interface
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment