From owner-cvs-all Tue Feb 26 16:21: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3F98E37B426; Tue, 26 Feb 2002 16:21:04 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1R0L4955831; Tue, 26 Feb 2002 16:21:04 -0800 (PST) (envelope-from jake) Message-Id: <200202270021.g1R0L4955831@freefall.freebsd.org> From: Jake Burkholder Date: Tue, 26 Feb 2002 16:21:04 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include frame.h param.h src/sys/sparc64/sparc64 genassym.c machdep.c rwindow.c swtch.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jake 2002/02/26 16:21:04 PST Modified files: sys/sparc64/include frame.h param.h sys/sparc64/sparc64 genassym.c machdep.c rwindow.c swtch.s Log: Add a macro for shift of an integer (1 << shift == sizeof). Move the pointer define to live alongside it. For kicks assert at compile time that they are correct. Use these instead of magic numbers. Revision Changes Path 1.12 +0 -1 src/sys/sparc64/include/frame.h 1.10 +3 -0 src/sys/sparc64/include/param.h 1.21 +3 -1 src/sys/sparc64/sparc64/genassym.c 1.36 +3 -0 src/sys/sparc64/sparc64/machdep.c 1.5 +0 -1 src/sys/sparc64/sparc64/rwindow.c 1.15 +2 -2 src/sys/sparc64/sparc64/swtch.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message