diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-21 11:58:49 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-21 11:58:49 +0000 |
commit | ea6860bd08ed6e4afbbda0582813c50d322e867a (patch) | |
tree | e7c482bfe74722e969e21d01c78f23f1a663723b /sys | |
parent | 575296285ee6419d64ece08eece24d7bfbae43cc (diff) |
Fix off-by-one error in PG_LGFRAME mask
ok mlarkin@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/include/pte.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/pte.h b/sys/arch/amd64/include/pte.h index e7bc3671c21..acdb7535c62 100644 --- a/sys/arch/amd64/include/pte.h +++ b/sys/arch/amd64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.9 2013/03/23 16:12:20 deraadt Exp $ */ +/* $OpenBSD: pte.h,v 1.10 2014/04/21 11:58:48 guenther Exp $ */ /* $NetBSD: pte.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */ /* @@ -123,7 +123,7 @@ typedef u_int64_t pt_entry_t; /* PTE */ #define PG_NX 0x8000000000000000UL /* non-executable */ #define PG_FRAME 0x000ffffffffff000UL -#define PG_LGFRAME 0x000fffffffc00000UL /* large (2M) page frame mask */ +#define PG_LGFRAME 0x000fffffffe00000UL /* large (2M) page frame mask */ /* Cacheability bits when we are using PAT */ #define PG_WB (0) /* The default */ |