* Bug in PALcode for 21066.
@ 1999-03-18 16:52 Oleg Gusev
0 siblings, 0 replies; only message in thread
From: Oleg Gusev @ 1999-03-18 16:52 UTC (permalink / raw)
To: axp-list
The following code in palcode/noname/osfpal.S seems to be incorrect:
> ** Read the signature value and determine if PALcode is to follow a
> ** standard transfer protocol from the POST code.
> */
> srl a3, 16, t7 # Shift signature into lower word.
>
> LDLI(t6,0xDECB) # Load the expected valid signature.
^^^^^^^
According to milo.h and my own experience with AXPpci33 it must
be 0xDECA. This line prevents proper operation of memory sizing code,
etc.
The palcode/noname/platform.S must be also corrected.
> sys_cserve_jtopal:
> bic a0, 3, t8 # Clear out low 2 bits of address
> bis t8, 1, t8 # Or in PAL mode bit
>
> mfpr t11, ptImpure # Get base of impure scratch area.
> lda t11, CNS_Q_BASE(t11) # Point to start of save state area.
> ldq_p a3, CNS_Q_SIGNATURE(t11)# Read the saved protocol signature.
> srl a3, 16, t0 # Shift signature into lower word.
>
> LDLI(t1,0xDECB) # Load the expected valid signature.
^^^^^^^
After this change my MILO finally behaves as expected.
Oleg.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-03-18 17:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-18 16:52 Bug in PALcode for 21066 Oleg Gusev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox