From owner-cvs-all Thu Oct 3 18: 0:37 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FAC137B401; Thu, 3 Oct 2002 18:00:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 213B643E6A; Thu, 3 Oct 2002 18:00:36 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9410aCo096646; Thu, 3 Oct 2002 18:00:36 -0700 (PDT) (envelope-from peter@freefall.freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9410ZhA096638; Thu, 3 Oct 2002 18:00:36 -0700 (PDT) Message-Id: <200210040100.g9410ZhA096638@freefall.freebsd.org> From: Peter Wemm Date: Thu, 3 Oct 2002 18:00:35 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 clock.c interrupt.c 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 peter 2002/10/03 18:00:35 PDT Modified files: sys/ia64/ia64 clock.c interrupt.c machdep.c mp_machdep.c Log: Do a bit of rude hackery to get clock interrupts on all CPUs. This is partly based on the Alpha system which duplicates the clock to each cpu, instead of doing a clock roundrobin like on i386. This means we get hz * ncpu clocks per second and so we have to seperate clock sampling from actual 'do the work' clock processing. The BSP runs the complete processing, the rest just sample state etc. Using the on-cpu interval timer is not ideal as it will drift. There is more to be done here, we should use an external clock source. Revision Changes Path 1.16 +3 -3 src/sys/ia64/ia64/clock.c 1.27 +35 -8 src/sys/ia64/ia64/interrupt.c 1.113 +1 -0 src/sys/ia64/ia64/machdep.c 1.40 +5 -0 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