Module Name: src
Committed By: matt
Date: Thu Aug 20 07:52:38 UTC 2009
Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: proc.h
Log Message:
Change md_regs in mdlwp to struct frame * from void *. Every use just casts
it to struct frame * anyways so enforce the type.
Add p_abi which indicates the ABI of the process.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.36.1 src/sys/arch/mips/include/proc.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/proc.h
diff -u src/sys/arch/mips/include/proc.h:1.21 src/sys/arch/mips/include/proc.h:1.21.36.1
--- src/sys/arch/mips/include/proc.h:1.21 Fri Nov 16 07:36:11 2007
+++ src/sys/arch/mips/include/proc.h Thu Aug 20 07:52:38 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.21 2007/11/16 07:36:11 skrll Exp $ */
+/* $NetBSD: proc.h,v 1.21.36.1 2009/08/20 07:52:38 matt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,9 +44,10 @@
/*
* Machine-dependent part of the lwp structure for MIPS
*/
+struct frame;
struct mdlwp {
- void *md_regs; /* registers on current frame */
+ struct frame *md_regs; /* registers on current frame */
int md_flags; /* machine-dependent flags */
int md_upte[UPAGES]; /* ptes for mapping u page */
vaddr_t md_ss_addr; /* single step address for ptrace */
@@ -56,7 +57,9 @@
struct mdproc {
/* syscall entry for this process */
- void (*md_syscall)(struct lwp *, u_int, u_int, u_int);
+ void (*md_syscall)(struct lwp *, u_int, u_int, vaddr_t);
+ int md_abi; /* which ABI is this process using? */
+ int md_fancy;
};
/* md_flags */