From owner-cvs-all Sun Nov 11 23:18:21 2001 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 6BF6137B416; Sun, 11 Nov 2001 23:18:17 -0800 (PST) Received: (from marcel@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAC7IHp42424; Sun, 11 Nov 2001 23:18:17 -0800 (PST) (envelope-from marcel) Message-Id: <200111120718.fAC7IHp42424@freefall.freebsd.org> From: Marcel Moolenaar Date: Sun, 11 Nov 2001 23:18:17 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 locore.s machdep.c mp_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 2001/11/11 23:18:17 PST Modified files: sys/ia64/ia64 locore.s machdep.c mp_machdep.c Log: o os_boot_rendez is responsible for clearing the IRR bit by reading cr.ivr, as well as writing to cr.eoi. o use global variables to pass information to os_boot_rendez so that it doesn't have to jump through hoops to find it out. This avoids traps on the AP without it even being initialized. This fixes SMP configurations. o Move the probing of the MADT to the end of cpu_startup, instead of at the start of cpu_mp_probe. We need to probe the MADT for non-SMP configurations as well. This fixes uniprocessor configurations. o Serialize AP wake-up by waiting for the AP. We need to do this since we use global variables to for the AP to use. As a side-effect, we can use printf() more easily to see what's going on. Revision Changes Path 1.19 +14 -6 src/sys/ia64/ia64/locore.s 1.68 +9 -4 src/sys/ia64/ia64/machdep.c 1.25 +32 -21 src/sys/ia64/ia64/mp_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message