Subject: Re: shutdown -r
To: Paul Goyette <paul@whooppee.com>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 08/25/1997 17:19:04
Paul Goyette wrote:
>
> On Mon, 25 Aug 1997, John P. Wittkoski wrote:
>
> > Colin Wood wrote:
> >
> > > Hmmm...yeah, I seem to remember someone else saying this at some point.
> > > There must be some low memory global that we don't quite have the right
> > > address for on the IIcx which we are touching. The only problem with that
> > > idea is that I thought a reboot pretty much wiped everything in memory,
> > > but I guess maybe it doesn't.
> >
> > How does MacOS determine a cold vs. warm startup?
>
> Well, there's a longword called WarmStart (located at low-memory global
> location 0x0CFC) that is looked at by (at least) the Slot Manager. From
> my admittedly low level of understanding of this code, WarmStart contains
> a value of 0x574C5343 (or, 'WLSC' in ASCII) to signal a restart. I
> haven't a clue as to what the MacOS does differently between the Warm and
> Cold starts. But I'm pretty sure NetBSD/Mac68k doesn't do anything to set
> this variable...
>
Hmmmm...then perhaps we should set it? Does anyone know what it is set to
upon NetBSD boot?
Later.
--
Colin Wood cwood@ichips.intel.com
Component Design Engineer - MD6 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.