frame.h revision 284925
1/*-
2 * This file is in the public domain.
3 */
4/* $FreeBSD: head/sys/i386/include/frame.h 284925 2015-06-29 10:35:00Z kib $ */
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