Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 18:42:53 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/powerpc/uboot start.S
Message-ID:  <200802231842.m1NIgrnx015352@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802231842.m1NIgrnx015352>