[movitz-cvs] CVS update: movitz/image.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Tue Sep 21 13:01:04 UTC 2004


Update of /project/movitz/cvsroot/movitz
In directory common-lisp.net:/tmp/cvs-serv16495

Modified Files:
	image.lisp 
Log Message:
Add a continue/ignore restart for the "won't defun a common-lisp symbol"
error.

Date: Tue Sep 21 15:01:03 2004
Author: ffjeld

Index: movitz/image.lisp
diff -u movitz/image.lisp:1.69 movitz/image.lisp:1.70
--- movitz/image.lisp:1.69	Fri Sep 17 13:12:55 2004
+++ movitz/image.lisp	Tue Sep 21 15:01:00 2004
@@ -9,7 +9,7 @@
 ;;;; Created at:    Sun Oct 22 00:22:43 2000
 ;;;; Distribution:  See the accompanying file COPYING.
 ;;;;                
-;;;; $Id: image.lisp,v 1.69 2004/09/17 11:12:55 ffjeld Exp $
+;;;; $Id: image.lisp,v 1.70 2004/09/21 13:01:00 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -453,24 +453,13 @@
    (raw-scratch0			; A non-GC-root scratch register
     :binary-type lu32
     :initform 0)
+   (atomically-continuation
+    :binary-type lu32
+    :initform 0)
    (non-pointers-end :binary-type :label) ; ========= NON-POINTER-END =======
    (scratch1
     :binary-type word
     :initform 0)
-   (atomically-status
-    :binary-type (define-bitfield atomically-status (lu32)
-		   (((:enum :byte (3 2))
-		     :inactive 0
-		     :restart-primitive-function 1 ; data = slot-offset of pf.
-		     :restart-jumper 2)	; data = ESI-relative jumper number.
-		    ((:bits) :reset-status-p 8
-			     :esp 9
-			     :ebp 10)
-		    ((:numeric :data 16 16))))
-    :initform '(:inactive))
-   (atomically-esp
-    :binary-type lu32
-    :initform 0)
    (dynamic-unwind-next
     :map-binary-write 'movitz-intern-code-vector
     :binary-tag :primitive-function
@@ -478,7 +467,9 @@
     :binary-type code-vector-word))
   (:slot-align null-symbol -5))
 
-(defun atomically-status-simple-pf (pf-name reset-status-p &rest registers)
+(defun atomically-continuation-simple-pf (pf-name)
+  (global-constant-offset pf-name)
+  #+ignore
   (bt:enum-value 'movitz::atomically-status
 		 (list* :restart-primitive-function
 			(cons :reset-status-p
@@ -494,6 +485,8 @@
 			registers)))
 
 (defun atomically-status-jumper-fn (reset-status-p &rest registers)
+  (assert (not reset-status-p))
+  (assert (null registers))
   (lambda (jumper)
     (assert (= 0 (mod jumper 4)))
     (bt:enum-value 'movitz::atomically-status





More information about the Movitz-cvs mailing list