From owner-cvs-all Sat Mar 30 15:28:27 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 B329B37B420; Sat, 30 Mar 2002 15:25:22 -0800 (PST) Received: (from marcel@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UNPMA88950; Sat, 30 Mar 2002 15:25:22 -0800 (PST) (envelope-from marcel) Message-Id: <200203302325.g2UNPMA88950@freefall.freebsd.org> From: Marcel Moolenaar Date: Sat, 30 Mar 2002 15:25:22 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 locore.s machdep.c 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 marcel 2002/03/30 15:25:22 PST Modified files: sys/ia64/ia64 locore.s machdep.c Log: Transition to a model where the loader passes the address of the bootinfo block in register r8. In locore.s we save the address in the global variable 'pa_bootinfo'. In machdep.c we compare this value against the hardwired address, but don't depend on its validity yet (ie: we still expect the bootinfo block to be at the hardwired address). After a small amount of time, we'll flip the switch and depend on the loader to pass us the address. From that moment on the loader is free to put it anywhere it likes, provided the machine itself likes it as well. Add some verbosity to aid in the transition. We emit a message if the loader didn't pass the address and we also emit a message if there's no bootinfo block at the hardwired address. While in locore.s, reduce the number of redundant serialization instructions. A srlz.i is a proper superset of a srlz.d and thus is a valid replacement. Also slightly reorder the movl instructions to improve bundle density. Revision Changes Path 1.23 +14 -14 src/sys/ia64/ia64/locore.s 1.85 +31 -4 src/sys/ia64/ia64/machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message