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

Peter Grehan grehan at FreeBSD.org
Sun Oct 30 13:30:00 PST 2005


grehan      2005-10-30 21:29:59 UTC

  FreeBSD src repository

  Modified files:
    sys/powerpc/powerpc  locore.S ofw_machdep.c 
  Log:
  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.
  
  reported by:    many
  MFC after:      3 days
  
  Revision  Changes    Path
  1.22      +11 -2     src/sys/powerpc/powerpc/locore.S
  1.14      +46 -4     src/sys/powerpc/powerpc/ofw_machdep.c


More information about the cvs-all mailing list