From 9ace52fc69897b05a41322c0b6f339ee25e24393 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 30 Sep 2001 19:42:34 +0000 Subject: Add a place holder for PSTATE_SECURE, which detects if user code it trying to set bad pstate bits. --- sys/sparc64/include/pstate.h | 2 ++ 1 file changed, 2 insertions(+) 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_ */ -- cgit v1.1