diff options
author | jake <jake@FreeBSD.org> | 2001-09-30 19:42:34 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-09-30 19:42:34 +0000 |
commit | 9ace52fc69897b05a41322c0b6f339ee25e24393 (patch) | |
tree | 517a18562ed2e99398349a346266b96741835d13 | |
parent | 27969af8941a80dfb7c17d93fd5af1878a1197db (diff) | |
download | FreeBSD-src-9ace52fc69897b05a41322c0b6f339ee25e24393.zip FreeBSD-src-9ace52fc69897b05a41322c0b6f339ee25e24393.tar.gz |
Add a place holder for PSTATE_SECURE, which detects if user code it
trying to set bad pstate bits.
-rw-r--r-- | sys/sparc64/include/pstate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/include/pstate.h b/sys/sparc64/include/pstate.h index 7d95b33..3b57834 100644 --- a/sys/sparc64/include/pstate.h +++ b/sys/sparc64/include/pstate.h @@ -56,4 +56,6 @@ #define PSTATE_KERNEL (PSTATE_NORMAL | PSTATE_IE) +#define PSTATE_SECURE(pstate) (1) /* XXX */ + #endif /* !_MACHINE_PSTATE_H_ */ |