Subject: Re: DUOTEST kernel
To: Daishi Kato <daishi@axlight.com>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-mac68k
Date: 10/28/1999 17:48:21
On Fri, 29 Oct 1999, Daishi Kato wrote:
> > My only other concern is could you code them some way that one kernel
> > could boot both on a duo and a non-duo machine? We already have a 2x2
> > matrix of kernels (sbc vs ncr scsi, mrg vs hw-direct adb) and I think it'd
> > be saner for everyone if we didn't make it 2x2x2. :-)
>
> OK, I know what you mean.
>
> There're some things what I want to know:
>
> Is the DUOTEST kernel really boot on other Duos and PBs?
>
> What to do with locore.s ? I have no idea with assembly language.
I think/hope that Allen and Scott can help here.
> What is the meaning of the line
> "if ((via_reg(VIA1, vIFR) & 0x10) == 0x10)" in pm_direct.c .
It should be reading the IFR (Interrupt Flag Register) of VIA 1, and
seeing if bit 0x10 is set.
Bit 0x10 of this bit is V1IF_ADBCLK, which I assume is an adb clock. :-)
Take care,
Bill