darcs patch: Support an interrupt flag,
and primitive... (and 4 more)
Brian Rice
water at tunes.org
Thu Oct 27 11:21:16 PDT 2005
I don't think this is platform-dependent at all. I just attempted to
try your suggestion here, with the boot.c patch and all patches
pulled into my repository, and with both a fresh image (bootstrapped
from alpha with all non-related patches pulled) and the alpha image
itself, I get the same error trying to run make newboot if I don't
have a slate.image available.
However, doing so with an existing image that has gone through the
initialization process works. So this bootstrap was trickier than
communicated/realized. I'll upload my results once I'm satisfied.
Thanks!
On Oct 27, 2005, at 6:36 AM, Tony Garnock-Jones wrote:
> Brian Rice wrote:
>
>> Er, I meant to address this to Tony. Sorry, Nick. :)
>>
>
> OK, I've tried it on my mac. I took a copy of the head of main,
> with all patches applied, and cleaned up (make distclean and remove
> the libtool detritus). Typing "make" downloaded vm.c, vm.h,
> big.image as expected and tried to build a vm. Of course, the
> changes in boot.c don't work with the alpha vm.c, so I edited
> boot.c temporarily thus:
>
> #if 0
> if (InterruptFlag != False) {
> InterruptFlag = False;
> } else {
> break;
> }
> #else
> break;
> #endif
>
> ... and next time, "make" succeeded. Then I did "make newboot",
> which went without a hitch; then "make VM=vm.new"; then "./vm.new
> big.new.image", which worked too.
>
> Now I'm undoing the temporary hack to boot.c, and I'll see if the
> cooperative-threading thing works like it did on Linux last night.
>
> Tony
>
--
-Brian
More information about the Slate
mailing list