From perry@hpfcls Mon Jan 16 14:42 MST 1989
Received: from hpfcla.HP.COM by hpfclw.HP.COM; Mon, 16 Jan 89 14:42:13 mst
Received: from hpfcls.HP.COM by hpfcla.HP.COM; Mon, 16 Jan 89 14:30:55 mst
Received: by hpfcls.HP.COM; Mon, 16 Jan 89 14:31:29 mst
Date: Mon, 16 Jan 89 14:31:29 mst
From: Perry Scott <perry@hpfcls>
Full-Name: Perry Scott
Message-Id: <8901162131.AA09223@hpfcls.HP.COM>
Subject: s300kernel defect resolved
Apparently-To: hpfcla!dew@hpfcla
Status: R

Your defect report, listed below, has been resolved


Detailed Listing for Defect Number FSDls02363

  Submission Number: 01385FSDdt   Date Found:    890112
  Defect Status: RESOL            Date Arrived:  890112
  Found in: Secondary Loader      Date Received: 890113
  Version : 58.6                  Date Resolved: 890116
  Severity: 6                     Priority: 3
  Showstopper: No                 Number of Duplicates:   
  Workaround: No                  Additional Files: 2 
  Symptoms:
   * incorrect behavior
   * inconsistent behavior

Description:
  Secondary Loader does not leave a7 in boot stack space.                 


Submitter Supplied Information

  Submitter name:      David Willis        
  Submitter phone:     TELNET: 229-3584    
  Submitter address:   dew@hpfcla          
  Hardware system:     s300                
  OS release ID:       6.2                 
  Submitter project:   PWS 3.22            
  Activity used to find defect: regular use

Responder Supplied Information

  Responsible site:     FSD
  Responsible project:  s300kernel          
  Responsible engineer: perry               


  Resolution:  
  * no change




.submitter

After the secondary loader brought in the PWS kernal file, 
the stack (register A7) was found at location FFFFF924.  
It was expected that after the secondary loader passed control 
off, the environment would be identical to that left by the BOOT ROM.
(The boot rom leaves it stack at FFFFFDAC).

This resulted in the corruption of the Pascal Workstation
System kernal.



.labnotes

The secondary loader passes information to HP-UX on the stack.
Therefore, the stack cannot be the same as when control is passed to the
loader from the Boot ROM.  It may be possible to reduce the size of the
stack frame used by the "main" routine of the loader, where the jump is
made to the OS.

The difference in stack pointer has never been a problem for HP-UX,
because it is initialized to something else after memory mapping is
turned on.

There is a way for PWS to back out the stack, since the secondary loader
follows the 'C' calling sequence, which is a known quantity.

Perry Scott




	- Defect Tracking System -


