diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-06 00:23:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-06 00:23:22 +0000 |
commit | 356883ae78caeb632c915d62a72f6c35dcd915d3 (patch) | |
tree | 02fb195954977da075224286e4d3c4fe92db9ef9 /sys/arch/amd64/include/pte.h | |
parent | 63b3f097011dfd841110c0bec4b64308232ed3c6 (diff) |
some cpus start to have a NX oriented PGEX_I
Diffstat (limited to 'sys/arch/amd64/include/pte.h')
-rw-r--r-- | sys/arch/amd64/include/pte.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/pte.h b/sys/arch/amd64/include/pte.h index eaa883d3f6f..bab70f51eae 100644 --- a/sys/arch/amd64/include/pte.h +++ b/sys/arch/amd64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.1 2004/01/28 01:39:39 mickey Exp $ */ +/* $OpenBSD: pte.h,v 1.2 2004/02/06 00:23:21 deraadt Exp $ */ /* $NetBSD: pte.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */ /* @@ -133,5 +133,6 @@ typedef u_int64_t pt_entry_t; /* PTE */ #define PGEX_P 0x01 /* protection violation (vs. no mapping) */ #define PGEX_W 0x02 /* exception during a write cycle */ #define PGEX_U 0x04 /* exception while in user mode (upl) */ +#define PGEX_I 0x10 /* instruction fetch blocked by NX */ #endif /* _AMD64_PTE_H_ */ |