xref: /freebsd/sys/i386/include/frame.h (revision b339ef955c65fd672f7e3dd39f22c8f946d09f3e)
1 /*-
2  * This file is in the public domain.
3  */
4 /* $FreeBSD$ */
5 
6 #include <x86/frame.h>
7 
8 #ifndef __I386_FRAME_H__
9 #define	__i386_FRAME_H__
10 
11 #define	CS_SECURE(cs)		(ISPL(cs) == SEL_UPL)
12 #define	EFL_SECURE(ef, oef)	((((ef) ^ (oef)) & ~PSL_USERCHANGE) == 0)
13 
14 #endif
15