cvs commit: src/sys/boot/powerpc/uboot start.S

Marcel Moolenaar marcel at FreeBSD.org
Sat Feb 23 18:42:53 UTC 2008


marcel      2008-02-23 18:42:53 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/powerpc/uboot start.S 
  Log:
  o  Keep running on U-Boot's stack.
  o  Disable interrupts while not running U-Boot code. We clobber
     registers that the U-Boot interrupt handlers assume to be
     fixed as per the U-Boot register usage. At this time this only
     applies to r14. U-Boot uses r2 now for what they used r29 for.
     After we restore r14 in preparation of doing the syscall, we
     re-enable interrupts. When we return from the syscall, we
     disable interrupts and restore the callee-saved r14.
  
  Revision  Changes    Path
  1.3       +23 -21    src/sys/boot/powerpc/uboot/start.S


More information about the cvs-all mailing list