diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-09-07 08:30:53 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-09-07 08:30:53 +0000 |
commit | 84e087846d7e581e4b03bd0e3d8e432700ab225a (patch) | |
tree | b6058e9e32cdab35751e99544bac4406f1683679 /sys | |
parent | 090b46a7dd311cec1efee6350f775abbe5119c2d (diff) |
update the comment about how the srmmu works (some names were wrong)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/include/pte.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/include/pte.h b/sys/arch/sparc/include/pte.h index fb834b38a48..41c1f23c9f4 100644 --- a/sys/arch/sparc/include/pte.h +++ b/sys/arch/sparc/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.4 1997/09/17 06:47:14 downsj Exp $ */ +/* $OpenBSD: pte.h,v 1.5 1999/09/07 08:30:52 art Exp $ */ /* $NetBSD: pte.h,v 1.19 1997/08/05 11:00:10 pk Exp $ */ /* @@ -157,8 +157,8 @@ typedef u_char smeg_t; /* 8 bits needed per Sun-4 regmap entry */ * if (usermode && PTE_PROT_LEVEL(pte) > 0x5) TRAP(); * if (writing && !PTE_PROT_LEVEL_ALLOWS_WRITING(pte)) TRAP(); * if (!(pte & SRMMU_PG_C)) DO_NOT_USE_CACHE_FOR_THIS_ACCESS(); - * pte |= SRMMU_PG_U; - * if (writing) pte |= PG_M; + * pte |= SRMMU_PG_R; + * if (writing) pte |= SRMMU_PG_M; * physaddr = ((pte & SRMMU_PG_PFNUM) << SRMMU_PGSHIFT)|va.va_off; * return; * if (mmu_3l) |