Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add PM_SR



details:   https://anonhg.NetBSD.org/src/rev/cf2d1161ecbb
branches:  trunk
changeset: 511987:cf2d1161ecbb
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jul 01 21:39:17 2001 +0000

description:
Add PM_SR

diffstat:

 sys/arch/macppc/macppc/genassym.cf |  3 ++-
 sys/arch/prep/prep/genassym.cf     |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 843b0c16cedb -r cf2d1161ecbb sys/arch/macppc/macppc/genassym.cf
--- a/sys/arch/macppc/macppc/genassym.cf        Sun Jul 01 20:42:48 2001 +0000
+++ b/sys/arch/macppc/macppc/genassym.cf        Sun Jul 01 21:39:17 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.7 2001/01/01 05:17:15 tsubai Exp $
+#      $NetBSD: genassym.cf,v 1.8 2001/07/01 21:39:17 matt Exp $
 
 #
 # Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -62,6 +62,7 @@
 define PCB_SPL         offsetof(struct pcb, pcb_spl)
 define PCB_FAULT       offsetof(struct pcb, pcb_onfault)
 
+define PM_SR           offsetof(struct pmap, pm_sr[0])
 define PM_USRSR        offsetof(struct pmap, pm_sr[USER_SR])
 define PM_KERNELSR     offsetof(struct pmap, pm_sr[KERNEL_SR])
 
diff -r 843b0c16cedb -r cf2d1161ecbb sys/arch/prep/prep/genassym.cf
--- a/sys/arch/prep/prep/genassym.cf    Sun Jul 01 20:42:48 2001 +0000
+++ b/sys/arch/prep/prep/genassym.cf    Sun Jul 01 21:39:17 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.4 2000/11/22 08:55:35 matt Exp $
+#      $NetBSD: genassym.cf,v 1.5 2001/07/01 21:39:59 matt Exp $
 
 #
 # Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -62,6 +62,7 @@
 define PCB_SPL         offsetof(struct pcb, pcb_spl)
 define PCB_FAULT       offsetof(struct pcb, pcb_onfault)
 
+define PM_SR           offsetof(struct pmap, pm_sr[0])
 define PM_USRSR        offsetof(struct pmap, pm_sr[USER_SR])
 define PM_KERNELSR     offsetof(struct pmap, pm_sr[KERNEL_SR])
 



Home | Main Index | Thread Index | Old Index