cvs commit: src/sys/powerpc/powerpc locore.S ofw_machdep.c

Peter Grehan grehan at FreeBSD.org
Fri Nov 11 05:21:09 GMT 2005


grehan      2005-11-11 05:21:08 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/powerpc/powerpc  locore.S ofw_machdep.c 
  Log:
  MFC locore.S:r.1.22, ofw_machdep.c:1.14
  
  >  Copy SPRG0-3 registers at boot-time and restore when calling into
  >  OpenFirmware. FreeBSD/ppc uses SPRG0 as the per-cpu data area pointer,
  >  and SPRG1-3 as temporary registers during exception handling. There
  >  have been a few instances where OpenFirmware does require these to
  >  be part of it's context, such as cd-booting an eMac.
  
  Revision  Changes    Path
  1.21.2.1  +11 -2     src/sys/powerpc/powerpc/locore.S
  1.13.2.1  +46 -4     src/sys/powerpc/powerpc/ofw_machdep.c


More information about the cvs-src mailing list