Add PM_SR.
This commit is contained in:
parent
6357fdafe8
commit
cafc0288cf
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: genassym.cf,v 1.4 2001/02/06 05:03:43 briggs Exp $
|
||||
# $NetBSD: genassym.cf,v 1.5 2001/07/01 21:41:02 matt Exp $
|
||||
|
||||
#
|
||||
# Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -62,6 +62,7 @@ define PCB_SP offsetof(struct pcb, pcb_sp)
|
|||
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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue