Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Change switchframe to use register_...
details: https://anonhg.NetBSD.org/src/rev/93636cd92d40
branches: trunk
changeset: 550159:93636cd92d40
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 31 15:29:29 2003 +0000
description:
Change switchframe to use register_t (anything that uses stmX/lmX needs
to be defined as register_t).
diffstat:
sys/arch/powerpc/include/frame.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 208b4f2f5aae -r 93636cd92d40 sys/arch/powerpc/include/frame.h
--- a/sys/arch/powerpc/include/frame.h Thu Jul 31 15:14:08 2003 +0000
+++ b/sys/arch/powerpc/include/frame.h Thu Jul 31 15:29:29 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frame.h,v 1.14 2003/02/03 21:48:01 matt Exp $ */
+/* $NetBSD: frame.h,v 1.15 2003/07/31 15:29:29 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -81,7 +81,7 @@
#if defined(_KERNEL) || defined(_LKM)
#ifdef _LP64
-struct utrapframe {
+struct utrapframe32 {
register32_t fixreg[32];
register32_t lr;
int cr;
@@ -104,9 +104,9 @@
struct switchframe {
register_t sp;
- int fill;
- int user_sr; /* VSID on IBM4XX */
- int cr;
+ register_t fill;
+ register_t user_sr; /* VSID on IBM4XX */
+ register_t cr;
register_t fixreg2;
register_t fixreg[19]; /* R13-R31 */
};
Home |
Main Index |
Thread Index |
Old Index