From owner-cvs-all@FreeBSD.ORG Sat Feb 23 18:42:53 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD58616A400; Sat, 23 Feb 2008 18:42:53 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A1C6713C45B; Sat, 23 Feb 2008 18:42:53 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1NIgru2015353; Sat, 23 Feb 2008 18:42:53 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1NIgrnx015352; Sat, 23 Feb 2008 18:42:53 GMT (envelope-from marcel) Message-Id: <200802231842.m1NIgrnx015352@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 23 Feb 2008 18:42:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/boot/powerpc/uboot start.S X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 18:42:53 -0000 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