subr_syscall.c (106655) | subr_syscall.c (108338) |
---|---|
1/*- 2 * Copyright (C) 1994, David Greenman 3 * Copyright (c) 1990, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the University of Utah, and William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 | 1/*- 2 * Copyright (C) 1994, David Greenman 3 * Copyright (c) 1990, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the University of Utah, and William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 |
38 * $FreeBSD: head/sys/kern/subr_trap.c 106655 2002-11-08 19:00:17Z rwatson $ | 38 * $FreeBSD: head/sys/kern/subr_trap.c 108338 2002-12-28 01:23:07Z julian $ |
39 */ 40 41#include "opt_mac.h" 42#ifdef __i386__ 43#include "opt_npx.h" 44#endif 45 46#include <sys/param.h> --- 60 unchanged lines hidden (view full) --- 107 PROC_UNLOCK(p); 108 } 109 110 /* 111 * Do special thread processing, e.g. upcall tweaking and such. 112 */ 113 if (p->p_flag & P_KSES) { 114 thread_userret(td, frame); | 39 */ 40 41#include "opt_mac.h" 42#ifdef __i386__ 43#include "opt_npx.h" 44#endif 45 46#include <sys/param.h> --- 60 unchanged lines hidden (view full) --- 107 PROC_UNLOCK(p); 108 } 109 110 /* 111 * Do special thread processing, e.g. upcall tweaking and such. 112 */ 113 if (p->p_flag & P_KSES) { 114 thread_userret(td, frame); |
115 /* printf("KSE thread returned"); */ | |
116 } 117 118 /* 119 * Charge system time if profiling. 120 * 121 * XXX should move PS_PROFIL to a place that can obviously be 122 * accessed safely without sched_lock. 123 */ --- 140 unchanged lines hidden --- | 115 } 116 117 /* 118 * Charge system time if profiling. 119 * 120 * XXX should move PS_PROFIL to a place that can obviously be 121 * accessed safely without sched_lock. 122 */ --- 140 unchanged lines hidden --- |