From owner-cvs-all@FreeBSD.ORG Fri Oct 26 15:00:35 2007 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 5C5DF16A418; Fri, 26 Oct 2007 15:00:35 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 356CC13C4B5; Fri, 26 Oct 2007 15:00:35 +0000 (UTC) (envelope-from imp@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 l9QF0ZhP036162; Fri, 26 Oct 2007 15:00:35 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9QF0ZJ0036161; Fri, 26 Oct 2007 15:00:35 GMT (envelope-from imp) Message-Id: <200710261500.l9QF0ZJ0036161@repoman.freebsd.org> From: Warner Losh Date: Fri, 26 Oct 2007 15:00:34 +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/common ufsread.c 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: Fri, 26 Oct 2007 15:00:35 -0000 imp 2007-10-26 15:00:34 UTC FreeBSD src repository Modified files: sys/boot/common ufsread.c Log: The arm boot code uses this function as well. Redefining cgbase() saves about 500 bytes in the boot code. While the AT91RM9200 has 12k of space for the boot loader, which is more than i386's 8k, the code generated by gcc is a bit bigger. I've had this in p4 for about two years now. Revision Changes Path 1.16 +1 -1 src/sys/boot/common/ufsread.c