Thu Aug 20 01:33:39 2009 UTC ()
include mips/vmparam.h to get PAGE_SIZE


(cliff)
diff -r1.22 -r1.23 src/sys/arch/mips/include/proc.h

cvs diff -r1.22 -r1.23 src/sys/arch/mips/include/proc.h (expand / switch to unified diff)

--- src/sys/arch/mips/include/proc.h 2009/08/17 18:56:09 1.22
+++ src/sys/arch/mips/include/proc.h 2009/08/20 01:33:39 1.23
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: proc.h,v 1.22 2009/08/17 18:56:09 matt Exp $ */ 1/* $NetBSD: proc.h,v 1.23 2009/08/20 01:33:39 cliff Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1992, 1993 4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved. 5 * The Regents of the University of California. All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to Berkeley by 7 * This code is derived from software contributed to Berkeley by
8 * Ralph Campbell. 8 * Ralph Campbell.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -28,26 +28,27 @@ @@ -28,26 +28,27 @@
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE. 32 * SUCH DAMAGE.
33 * 33 *
34 * @(#)proc.h 8.1 (Berkeley) 6/10/93 34 * @(#)proc.h 8.1 (Berkeley) 6/10/93
35 */ 35 */
36 36
37#ifndef _MIPS_PROC_H_ 37#ifndef _MIPS_PROC_H_
38#define _MIPS_PROC_H_ 38#define _MIPS_PROC_H_
39 39
40#include <sys/param.h> 40#include <sys/param.h>
 41#include <mips/vmparam.h>
41 42
42struct lwp; 43struct lwp;
43 44
44/* 45/*
45 * Machine-dependent part of the lwp structure for MIPS 46 * Machine-dependent part of the lwp structure for MIPS
46 */ 47 */
47 48
48struct mdlwp { 49struct mdlwp {
49 void *md_regs; /* registers on current frame */ 50 void *md_regs; /* registers on current frame */
50 int md_flags; /* machine-dependent flags */ 51 int md_flags; /* machine-dependent flags */
51 vaddr_t md_ss_addr; /* single step address for ptrace */ 52 vaddr_t md_ss_addr; /* single step address for ptrace */
52 int md_ss_instr; /* single step instruction for ptrace */ 53 int md_ss_instr; /* single step instruction for ptrace */
53 volatile int md_astpending; /* AST pending on return to userland */ 54 volatile int md_astpending; /* AST pending on return to userland */