Subject: Re: machdep.c and its boot() routine and doshutdownhooks()
To: Greg Hudson <ghudson@MIT.EDU>
From: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
List: tech-kern
Date: 11/13/1995 15:02:51
> > 1) Is the shutdown hook facility something recent? If so, who is the
> >    author of it? What is the reason for the mysterious variable
> >    shutdownhooks_done in doshutdownhooks that isn't set anywhere in
> >    the kernel?
> It was added by cgd in May 1995 and evidently only enabled in the
> alpha port because that's probably all Chris needed it for.

At the time, it also had relevance for the i386.  Charles and I worked
together on the interface, so he definitely knew about it (and so i
dunno why he didn't add it to the i386 code).  I would have sworn that
i informed the port maintainers about it, but (looking through mail
archives) apparently i didn't.

as for shutdownhooks_done: I dunno what happened to that.  It should
be set right after it's tested, i'd say.