1 /* 2 * 3 * 4 * $DragonFly: src/sys/platform/pc64/include/cpu.h,v 1.1 2007/09/23 04:42:07 yanyh Exp $ 5 */ 6 7 #ifndef _MACHINE_CPU_H_ 8 #define _MACHINE_CPU_H_ 9 10 #include <cpu/cpu.h> 11 12 #define CLKF_USERMODE(framep) \ 13 ((ISPL((framep)->if_cs) == SEL_UPL) || (framep->if_rflags /*& PSL_VM*/)) 14 15 #endif 16 17