From owner-cvs-sys Sun Dec 14 18:21:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA07379 for cvs-sys-outgoing; Sun, 14 Dec 1997 18:21:46 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA07262; Sun, 14 Dec 1997 18:21:04 -0800 (PST) (envelope-from tegge@FreeBSD.org) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA26139; Sun, 14 Dec 1997 18:18:39 -0800 (PST) Date: Sun, 14 Dec 1997 18:18:39 -0800 (PST) Message-Id: <199712150218.SAA26139@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 microtime.s mp_machdep.c simplelock.s swtch.s src/sys/i386/include lock.h profile.h src/sys/i386/isa apic_ipl.s ipl.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/12/14 18:18:39 PST Modified files: sys/i386/i386 microtime.s mp_machdep.c simplelock.s swtch.s sys/i386/include lock.h profile.h sys/i386/isa apic_ipl.s ipl.s Log: Add support for low resolution SMP kernel profiling. - A nonprofiling version of s_lock (called s_lock_np) is used by mcount. - When profiling is active, more registers are clobbered in seemingly simple assembly routines. This means that some callers needed to save/restore extra registers. - The stack pointer must have space for a 'fake' return address in idle, to avoid stack underflow. Revision Changes Path 1.35 +3 -1 src/sys/i386/i386/microtime.s 1.64 +6 -1 src/sys/i386/i386/mp_machdep.c 1.7 +31 -1 src/sys/i386/i386/simplelock.s 1.66 +3 -2 src/sys/i386/i386/swtch.s 1.5 +4 -1 src/sys/i386/include/lock.h 1.13 +7 -4 src/sys/i386/include/profile.h 1.17 +5 -1 src/sys/i386/isa/apic_ipl.s 1.19 +7 -3 src/sys/i386/isa/ipl.s