0.7.4.16:
[sbcl.git] / src / code / ppc-vm.lisp
index ee2eaa3..a8fc742 100644 (file)
               (values error-number (sc-offsets))))))
 
 
-\f
-;;; The loader uses this to convert alien names to the form they
-;;; occur in the symbol table.  This is ELF, so do nothing
-
-(defun extern-alien-name (name)
-  (declare (type simple-base-string name))
-  name)
-
-
-\f
-;;; SANCTIFY-FOR-EXECUTION -- Interface.
-;;;
-;;; Do whatever is necessary to make the given code component executable.
-;;; On the 601, we have less to do than on some other PowerPC chips.
-;;; This should what needs to be done in the general case.
-;;; 
-(defun sanctify-for-execution (component)
-  (without-gcing
-    (alien-funcall (extern-alien "ppc_flush_icache"
-                                (function void
-                                          system-area-pointer
-                                          unsigned-long))
-                  (code-instructions component)
-                  (* (code-header-ref component code-code-size-slot)
-                     n-word-bytes)))
-  nil)