From a4a468e215753623bc9e54d391d236c010119672 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 4 Aug 2003 00:30:51 +0000 Subject: [PATCH] Add SFRAME_USER_SR (even though the 4XX doesn't have one). --- sys/arch/powerpc/ibm4xx/genassym.cf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/powerpc/ibm4xx/genassym.cf b/sys/arch/powerpc/ibm4xx/genassym.cf index 0639df4f946c..a56c0f845602 100644 --- a/sys/arch/powerpc/ibm4xx/genassym.cf +++ b/sys/arch/powerpc/ibm4xx/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.3 2003/08/03 21:40:13 matt Exp $ +# $NetBSD: genassym.cf,v 1.4 2003/08/04 00:30:51 matt Exp $ # # Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -115,6 +115,7 @@ define CFRAME_R31 offsetof(struct callframe, r31) define SFRAMELEN roundup(sizeof(struct switchframe), CALLFRAMELEN) define SFRAME_SP offsetof(struct switchframe, sp) +define SFRAME_USER_SR offsetof(struct switchframe, user_sr) define SFRAME_CR offsetof(struct switchframe, cr) define SFRAME_R2 offsetof(struct switchframe, fixreg2) define SFRAME_R13 offsetof(struct switchframe, fixreg[0])