Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Oleg Gusev <oleg@usm.uni-muenchen.de>
To: axp-list@redhat.com
Subject: Bug in PALcode for 21066.
Date: Thu, 18 Mar 1999 17:52:52 +0100	[thread overview]
Message-ID: <36F12F64.2C4F3492@usm.uni-muenchen.de> (raw)


 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.


                 reply	other threads:[~1999-03-18 17:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox