From: Chris Hanson Date: Thu, 30 Jun 1988 22:23:49 +0000 (+0000) Subject: Change the handling of the microcode version so that it is updated X-Git-Tag: 20090517-FFI~12686 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=273fca0f0753f1529d7ee441010102e5764b1cf6;p=mit-scheme.git Change the handling of the microcode version so that it is updated whenever the runtime system is restored. --- diff --git a/v7/src/runtime/version.scm b/v7/src/runtime/version.scm index cf78207f4..2f5f68755 100644 --- a/v7/src/runtime/version.scm +++ b/v7/src/runtime/version.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.7 1988/06/22 21:25:16 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.8 1988/06/30 22:23:49 cph Exp $ Copyright (c) 1988 Massachusetts Institute of Technology @@ -38,6 +38,17 @@ MIT in each case. |# (declare (usual-integrations)) (define (initialize-package!) - (add-identification! - "Microcode" microcode-id/version microcode-id/modification) - (add-identification! "Runtime" 14 7)) \ No newline at end of file + (set! microcode-system + (make-system "Microcode" + microcode-id/version + microcode-id/modification + '())) + (add-system! microcode-system) + (add-event-receiver! event:after-restore snarf-microcode-version!) + (add-identification! "Runtime" 14 8)) + +(define microcode-system) + +(define (snarf-microcode-version!) + (set-system/version! microcode-system microcode-id/version) + (set-system/modification! microcode-system microcode-id/modification)) \ No newline at end of file