Move WITH-LIMITED-INTERRUPTS from "global.scm" to "boot.scm".
authorChris Hanson <org/chris-hanson/cph>
Fri, 1 Oct 2004 02:48:06 +0000 (02:48 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 1 Oct 2004 02:48:06 +0000 (02:48 +0000)
v7/src/runtime/boot.scm
v7/src/runtime/global.scm
v7/src/runtime/runtime.pkg

index 0b23d565065906117903dac69b67ac65ccc7a539..596aa8795aa895a03c59beac48a435bd6a85b8d1 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: boot.scm,v 14.17 2004/10/01 02:31:51 cph Exp $
+$Id: boot.scm,v 14.18 2004/10/01 02:47:41 cph Exp $
 
 Copyright 1986,1987,1988,1989,1990,1992 Massachusetts Institute of Technology
 Copyright 1993,1996,2001,2004 Massachusetts Institute of Technology
@@ -105,6 +105,10 @@ USA.
       interrupt-mask
       (thunk))))
 
+(define (with-limited-interrupts limit-mask procedure)
+  (with-interrupt-mask (fix:and limit-mask (get-interrupt-enables))
+    procedure))
+
 (define-primitives
   (object-pure? pure?)
   (object-constant? constant?)
index 4237222582bb99d35ec38699df9768c0d65ac454..0320449fa9f24e8708b2b34c22c2d7e46f00afec 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: global.scm,v 14.67 2004/10/01 02:16:36 cph Exp $
+$Id: global.scm,v 14.68 2004/10/01 02:47:51 cph Exp $
 
 Copyright 1988,1989,1991,1992,1993,1995 Massachusetts Institute of Technology
 Copyright 1998,2000,2001,2003,2004 Massachusetts Institute of Technology
@@ -113,10 +113,6 @@ USA.
 (define-integrable (system-hunk3-cons type cxr0 cxr1 cxr2)
   (object-new-type type (hunk3-cons cxr0 cxr1 cxr2)))
 
-(define (with-limited-interrupts limit-mask procedure)
-  (with-interrupt-mask (fix:and limit-mask (get-interrupt-enables))
-    procedure))
-
 (define (limit-interrupts! limit-mask)
   (set-interrupt-enables! (fix:and limit-mask (get-interrupt-enables))))
 
index 9db67879a31a628efad7d4d161a671cd797c3f39..deaed3b350cfd0fc9e8a1d843ed792b2c6c72713 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: runtime.pkg,v 14.496 2004/10/01 02:32:03 cph Exp $
+$Id: runtime.pkg,v 14.497 2004/10/01 02:48:06 cph Exp $
 
 Copyright 1988,1989,1990,1991,1992,1993 Massachusetts Institute of Technology
 Copyright 1994,1995,1996,1997,1998,1999 Massachusetts Institute of Technology
@@ -158,6 +158,7 @@ USA.
          unparser-method?
          unparser/standard-method
          with-absolutely-no-interrupts
+         with-limited-interrupts
          without-interrupts))
 
 (define-package (runtime equality)
@@ -356,7 +357,6 @@ USA.
          wait-interval
          with-history-disabled
          with-interrupt-mask
-         with-limited-interrupts
          with-values
          write-to-string)
   (initialization (initialize-package!)))