From owner-cvs-all Fri Feb 9 18:20:59 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 7110E37B491; Fri, 9 Feb 2001 18:20:34 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1A2KYd60641; Fri, 9 Feb 2001 18:20:34 -0800 (PST) (envelope-from jhb) Message-Id: <200102100220.f1A2KYd60641@freefall.freebsd.org> From: John Baldwin Date: Fri, 9 Feb 2001 18:20:34 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha exception.s genassym.c trap.c src/sys/alpha/include cpu.h globaldata.h src/sys/i386/i386 exception.s genassym.c swtch.s trap.c src/sys/i386/include asnames.h cpu.h globaldata.h src/sys/i386/isa apic_vector.s ipl.s ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/02/09 18:20:34 PST Modified files: sys/alpha/alpha exception.s genassym.c trap.c sys/alpha/include cpu.h globaldata.h sys/i386/i386 exception.s genassym.c swtch.s trap.c sys/i386/include asnames.h cpu.h globaldata.h sys/i386/isa apic_vector.s ipl.s sys/kern kern_sig.c sys/sys proc.h Log: - Make astpending and need_resched process attributes rather than CPU attributes. This is needed for AST's to be properly posted in a preemptive kernel. They are backed by two new flags in p_sflag: PS_ASTPENDING and PS_NEEDRESCHED. They are still accesssed by their old macros: aston(), astoff(), etc. For completeness, an astpending() macro has been added to check for a pending AST, and clear_resched() has been added to clear need_resched(). - Rename syscall2() on the x86 back to syscall() to be consistent with other architectures. Revision Changes Path 1.6 +3 -12 src/sys/alpha/alpha/exception.s 1.24 +1 -2 src/sys/alpha/alpha/genassym.c 1.44 +17 -16 src/sys/alpha/alpha/trap.c 1.25 +14 -30 src/sys/alpha/include/cpu.h 1.7 +1 -2 src/sys/alpha/include/globaldata.h 1.82 +5 -11 src/sys/i386/i386/exception.s 1.104 +5 -4 src/sys/i386/i386/genassym.c 1.107 +1 -4 src/sys/i386/i386/swtch.s 1.173 +18 -6 src/sys/i386/i386/trap.c 1.57 +2 -2 src/sys/i386/include/asnames.h 1.58 +8 -38 src/sys/i386/include/cpu.h 1.23 +1 -2 src/sys/i386/include/globaldata.h 1.67 +5 -6 src/sys/i386/isa/apic_vector.s 1.45 +7 -13 src/sys/i386/isa/ipl.s 1.107 +2 -2 src/sys/kern/kern_sig.c 1.148 +36 -1 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message