From 22990eb88633bc7fe9f42303e9ad2607d9d39b8c Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 1 Mar 2000 23:45:56 +0000 Subject: [PATCH] Change to put release version into runtime system rather than microcode. --- v7/src/runtime/savres.scm | 24 +++++++++++------------- v7/src/runtime/version.scm | 13 +++++++------ 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/v7/src/runtime/savres.scm b/v7/src/runtime/savres.scm index 113b187aa..1a4bf0a39 100644 --- a/v7/src/runtime/savres.scm +++ b/v7/src/runtime/savres.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Id: savres.scm,v 14.31 1999/04/07 04:09:06 cph Exp $ +$Id: savres.scm,v 14.32 2000/03/01 23:45:56 cph Exp $ -Copyright (c) 1988-1999 Massachusetts Institute of Technology +Copyright (c) 1988-2000 Massachusetts Institute of Technology This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ;;; package: (runtime save/restore) (declare (usual-integrations)) - + ;;; (DISK-SAVE filename #!optional identify) ;;; (DUMP-WORLD filename #!optional identify) ;;; Saves a world image in FILENAME. IDENTIFY has the following meaning: @@ -43,8 +43,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (define disk-save) (define dump-world) -(define *within-restore-window?* false) - +(define *within-restore-window?* #f) + (define (setup-image save-image) (lambda (filename #!optional identify) (let ((identify @@ -55,10 +55,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. filename (lambda () (set! time-world-saved time) - (if (string? identify) unspecific false)) + (if (string? identify) unspecific #f)) (lambda () (set! time-world-saved time) - (fluid-let ((*within-restore-window?* true)) + (fluid-let ((*within-restore-window?* #t)) (event-distributor/invoke! event:after-restore)) (start-thread-timer) (cond ((string? identify) @@ -69,10 +69,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (identify-world (cmdl/port cmdl)) (event-distributor/invoke! event:after-restart)))) ((not identify) - true) + #t) (else (event-distributor/invoke! event:after-restart) - true))))))) + #t))))))) (define (disk-save/kernel filename after-suspend after-restore) (let ((filename (->namestring (merge-pathnames filename)))) @@ -152,10 +152,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (write-string " at " port) (write-string (decoded-time/time-string time-world-saved) port))) (newline port) - (write-string " Release " port) - (write-string microcode-id/release-string port) (for-each (lambda (name) - (newline port) (write-string " " port) - (write-string (get-subsystem-identification-string name) port)) + (write-string (get-subsystem-identification-string name) port) + (newline port)) (get-subsystem-names)))) \ No newline at end of file diff --git a/v7/src/runtime/version.scm b/v7/src/runtime/version.scm index b908a59e8..283074a0c 100644 --- a/v7/src/runtime/version.scm +++ b/v7/src/runtime/version.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Id: version.scm,v 14.180 1999/04/07 04:09:08 cph Exp $ +$Id: version.scm,v 14.181 2000/03/01 23:44:54 cph Exp $ -Copyright (c) 1988-1999 Massachusetts Institute of Technology +Copyright (c) 1988-2000 Massachusetts Institute of Technology This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,11 +25,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (declare (usual-integrations)) (define (initialize-package!) + (add-subsystem-identification! "Release" '(7 5 4)) (snarf-microcode-version!) (add-event-receiver! event:after-restore snarf-microcode-version!) - (add-identification! "Runtime" 14 180)) + (add-subsystem-identification! "Runtime" '(14 180))) (define (snarf-microcode-version!) - (add-identification! "Microcode" - microcode-id/version - microcode-id/modification)) \ No newline at end of file + (add-subsystem-identification! "Microcode" + (list microcode-id/version + microcode-id/modification))) \ No newline at end of file -- 2.25.1