X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fsunos-os.lisp;h=ae4b233e082ef2db4b9c147c5a2b06976d45bb8a;hb=9e7a18990d8cfe726edca3450f84510f5676a3e1;hp=b16ff014adadb6ab72939579dc32f3a2edcfb4a3;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/src/code/sunos-os.lisp b/src/code/sunos-os.lisp index b16ff01..ae4b233 100644 --- a/src/code/sunos-os.lisp +++ b/src/code/sunos-os.lisp @@ -1,4 +1,4 @@ -;;;; OS interface functions for CMU CL under Solaris (FIXME: SunOS?) +;;;; OS interface functions for SBCL under SunOS ;;;; This software is part of the SBCL system. See the README file for ;;;; more information. @@ -20,8 +20,6 @@ "Return a string describing the supporting software." (values "SunOS")) -(defvar *software-version* nil) - (defun software-version () #!+sb-doc "Return a string describing version of the supporting software, or NIL @@ -33,19 +31,6 @@ (sb!ext:run-program "/bin/uname" `("-r") :output stream)))))) -(defun os-cold-init-or-reinit () ; KLUDGE: don't know what to do here - (/show "entering sunos-os.lisp OS-COLD-INIT-OR-REINIT") - (setf *software-version* nil) - (/show "setting *DEFAULT-PATHNAME-DEFAULTS*") - (setf *default-pathname-defaults* - ;; (temporary value, so that #'PATHNAME won't blow up when - ;; we call it below:) - (make-trivial-default-pathname) - *default-pathname-defaults* - ;; (final value, constructed using #'PATHNAME:) - (pathname (sb!unix:posix-getcwd/))) - (/show "leaving sunos-os.lisp OS-COLD-INIT-OR-REINIT")) - ;;; Return system time, user time and number of page faults. (defun get-system-info () (multiple-value-bind @@ -62,4 +47,9 @@ ;; FIXME: Or we could just get rid of this, since the uses of it look ;; disposable. ;; FIXME II: this could well be wrong - 8192) + #!+sparc 8192 + #!+(or x86 x86-64) 4096) + +;;; support for CL:MACHINE-VERSION defined OAOO elsewhere +(defun get-machine-version () + nil)