diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 03:54:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 03:54:39 +0000 |
commit | f12226068d16673eea9adafe99388f1061d3309f (patch) | |
tree | 90cb542d279e793d072ffc6e9f1f1add1f07179e /sys/arch/alpha/include/pmap.h | |
parent | 470d0389b66fade522060561cc0c6ba36e01e7cb (diff) |
update to netbsd
Diffstat (limited to 'sys/arch/alpha/include/pmap.h')
-rw-r--r-- | sys/arch/alpha/include/pmap.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/pmap.h b/sys/arch/alpha/include/pmap.h index 4339565011f..1b74e2317d6 100644 --- a/sys/arch/alpha/include/pmap.h +++ b/sys/arch/alpha/include/pmap.h @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.3 1995/04/10 12:41:38 mycroft Exp $ */ +/* $NetBSD: pmap.h,v 1.4 1995/11/23 02:36:25 cgd Exp $ */ /* * Copyright (c) 1987 Carnegie-Mellon University @@ -100,6 +100,12 @@ typedef struct pv_entry { #define PV_PTPAGE 0x01 /* header: entry maps a page table page */ +/* + * bits of pmap_attributes[] + */ +#define PMAP_ATTR_MOD 0x01 /* modified */ +#define PMAP_ATTR_REF 0x02 /* referenced */ + #ifdef _KERNEL pv_entry_t pv_table; /* array of entries, one per page */ @@ -111,6 +117,10 @@ pv_entry_t pv_table; /* array of entries, one per page */ extern pt_entry_t *Sysmap; extern char *vmmap; /* map for mem, dumps, etc. */ + +/* Machine-specific functions. */ +void pmap_emulate_reference __P((struct proc *p, vm_offset_t v, + int user, int write)); #endif /* _KERNEL */ #endif /* _PMAP_MACHINE_ */ |