X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fsparc-vm.lisp;h=1ef6009e1d18a5077e1e746f07d7c401a59e38c9;hb=15d6e7c9a2c3234f95dfe278046fa2fee1b0c007;hp=5507d9f51b4e973aa480b9c27a9c07206dc34acd;hpb=94ac5b7c3ff37850210b6fc9a7593cf1c5752993;p=sbcl.git diff --git a/src/code/sparc-vm.lisp b/src/code/sparc-vm.lisp index 5507d9f..1ef6009 100644 --- a/src/code/sparc-vm.lisp +++ b/src/code/sparc-vm.lisp @@ -9,13 +9,9 @@ ;;;; provided with absolutely no warranty. See the COPYING and CREDITS ;;;; files for more information. (in-package "SB!VM") - - ;;; See x86-vm.lisp for a description of this. (define-alien-type os-context-t (struct os-context-t-struct)) - - ;;;; MACHINE-TYPE and MACHINE-VERSION @@ -23,10 +19,9 @@ "Returns a string describing the type of the local machine." "SPARC") -(defun machine-version () - "Returns a string describing the version of the local machine." - "SPARC") - +;;; support for CL:MACHINE-VERSION defined OAOO elsewhere +(defun get-machine-version () + nil) (defun fixup-code-object (code offset fixup kind) (declare (type index offset)) @@ -105,6 +100,7 @@ ;;; Under Linux, we have to contend with utterly broken signal handling. #!+linux (defun context-floating-point-modes (context) + (declare (ignore context)) (warn "stub CONTEXT-FLOATING-POINT-MODES") 0) @@ -147,12 +143,12 @@ vector-data-offset) (* length n-byte-bits)) (let* ((index 0) - (error-number (sb!c::read-var-integer vector index))) + (error-number (sb!c:read-var-integer vector index))) (collect ((sc-offsets)) (loop (when (>= index length) (return)) - (sc-offsets (sb!c::read-var-integer vector index))) + (sc-offsets (sb!c:read-var-integer vector index))) (values error-number (sc-offsets)))))) (defun args-for-tagged-add-inst (context bad-inst)