diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-03-26 08:32:48 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-03-26 08:32:48 +0000 |
commit | 10dee766076c05a458fafe67067886c5336a9f61 (patch) | |
tree | ab01299cb68bd34deec63603bed06a66b1b0069b /sys/arch/hp300/include/pmap.h | |
parent | 5cc2bb141a85c1d606c46ee75560c4a1c835e607 (diff) |
Merge changes from NetBSD, up to 3/19/97; undoes some local changes.
Changed to match new arch/m68k code.
genassym.cf is currently just a place holder.
Diffstat (limited to 'sys/arch/hp300/include/pmap.h')
-rw-r--r-- | sys/arch/hp300/include/pmap.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hp300/include/pmap.h b/sys/arch/hp300/include/pmap.h index 3637780c2a0..a90af0d3711 100644 --- a/sys/arch/hp300/include/pmap.h +++ b/sys/arch/hp300/include/pmap.h @@ -1,5 +1,5 @@ -/* $OpenBSD: pmap.h,v 1.3 1997/01/12 15:13:39 downsj Exp $ */ -/* $NetBSD: pmap.h,v 1.10 1995/12/11 17:09:23 thorpej Exp $ */ +/* $OpenBSD: pmap.h,v 1.4 1997/03/26 08:32:46 downsj Exp $ */ +/* $NetBSD: pmap.h,v 1.12 1997/03/18 16:39:30 mycroft Exp $ */ /* * Copyright (c) 1987 Carnegie-Mellon University @@ -142,6 +142,9 @@ extern struct pmap kernel_pmap_store; #define pmap_kernel() (&kernel_pmap_store) #define active_pmap(pm) \ ((pm) == pmap_kernel() || (pm) == curproc->p_vmspace->vm_map.pmap) +#define active_user_pmap(pm) \ + (curproc && \ + (pm) != pmap_kernel() && (pm) == curproc->p_vmspace->vm_map.pmap) extern struct pv_entry *pv_table; /* array of entries, one per page */ |