Module Name: src Committed By: matt Date: Mon Feb 15 03:09:59 UTC 2010
Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: pcb.h Log Message: Put pcb_context first since it has the most interesting data (easier to dump in debugger). To generate a diff of this commit: cvs rdiff -u -r1.20.62.2 -r1.20.62.3 src/sys/arch/mips/include/pcb.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/include/pcb.h diff -u src/sys/arch/mips/include/pcb.h:1.20.62.2 src/sys/arch/mips/include/pcb.h:1.20.62.3 --- src/sys/arch/mips/include/pcb.h:1.20.62.2 Mon Sep 7 21:28:33 2009 +++ src/sys/arch/mips/include/pcb.h Mon Feb 15 03:09:59 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pcb.h,v 1.20.62.2 2009/09/07 21:28:33 matt Exp $ */ +/* $NetBSD: pcb.h,v 1.20.62.3 2010/02/15 03:09:59 matt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -85,12 +85,11 @@ /* * MIPS process control block */ -struct pcb -{ - struct fpreg pcb_fpregs; /* saved floating point registers */ +struct pcb { label_t pcb_context; /* kernel context for resume */ void * pcb_onfault; /* for copyin/copyout faults */ uint32_t pcb_ppl; /* previous priority level */ + struct fpreg pcb_fpregs; /* saved floating point registers */ }; /*