From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8051 invoked from network); 18 Mar 1999 17:04:42 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Mar 1999 17:04:42 -0000 Received: from Kutepov.usm.uni-muenchen.de (root@Kutepov.usm.uni-muenchen.de [129.187.204.87]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA15852 for ; Thu, 18 Mar 1999 11:54:06 -0500 Received: from usm.uni-muenchen.de (oleg@localhost [127.0.0.1]) by Kutepov.usm.uni-muenchen.de (8.8.7/8.8.7) with ESMTP id RAA08828 for ; Thu, 18 Mar 1999 17:52:52 +0100 Sender: oleg@Kutepov.usm.uni-muenchen.de Message-ID: <36F12F64.2C4F3492@usm.uni-muenchen.de> Date: Thu, 18 Mar 1999 17:52:52 +0100 From: Oleg Gusev Organization: Institute for Astronomy and Astrophysics X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.1 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Bug in PALcode for 21066. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.