;;;; provided with absolutely no warranty. See the COPYING and CREDITS
;;;; files for more information.
(in-package "SB!VM")
-
\f
-
;;; See x86-vm.lisp for a description of this.
(define-alien-type os-context-t (struct os-context-t-struct))
-
-
\f
;;;; MACHINE-TYPE and MACHINE-VERSION
"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)
\f
(defun fixup-code-object (code offset fixup kind)
(declare (type index offset))
;;; 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)
\f
(declare (type system-area-pointer pc)
(type (unsigned-byte 8) length)
(type (simple-array (unsigned-byte 8) (*)) vector))
- (copy-from-system-area pc (* n-byte-bits 5)
- vector (* n-word-bits
- vector-data-offset)
- (* length n-byte-bits))
+ (copy-ub8-from-system-area pc 5 vector 0 length)
(let* ((index 0)
(error-number (sb!c:read-var-integer vector index)))
(collect ((sc-offsets))