Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/arch/news68k/news68k Add RAS offsets.



details:   https://anonhg.NetBSD.org/src/rev/859bf3b887a7
branches:  nathanw_sa
changeset: 506293:859bf3b887a7
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Sat Oct 05 06:38:50 2002 +0000

description:
Add RAS offsets.

diffstat:

 sys/arch/news68k/news68k/genassym.cf |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 7b499ada0297 -r 859bf3b887a7 sys/arch/news68k/news68k/genassym.cf
--- a/sys/arch/news68k/news68k/genassym.cf      Sat Oct 05 06:37:34 2002 +0000
+++ b/sys/arch/news68k/news68k/genassym.cf      Sat Oct 05 06:38:50 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.8.8.5 2002/08/02 21:02:31 nathanw Exp $
+#      $NetBSD: genassym.cf,v 1.8.8.6 2002/10/05 06:38:50 gmcgarry Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -61,8 +61,6 @@
 include <machine/reg.h>
 include <machine/pte.h>
 
-include <m68k/saframe.h>
-
 # values for mmutype
 define MMU_68030               MMU_68030
 define MMU_68851               MMU_68851
@@ -117,6 +115,7 @@
 define L_MD_REGS               offsetof(struct lwp, l_md.md_regs)
 define L_MD_FLAGS              offsetof(struct lwp, l_md.md_flags)
 define P_FLAG                  offsetof(struct proc, p_flag)
+define P_NRAS                  offsetof(struct proc, p_nras)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
 # lwp fields and values
@@ -207,6 +206,9 @@
 define PCB_FPCTX               offsetof(struct pcb, pcb_fpregs)
 define SIZEOF_PCB              sizeof(struct pcb)
 
+# frame offsets
+define TF_PC                   offsetof(struct frame, f_pc)
+
 # exception frame offset/sizes
 define FR_SP                   offsetof(struct frame, f_regs[15])
 define FR_HW                   offsetof(struct frame, f_sr)



Home | Main Index | Thread Index | Old Index