amd64 port: mainly on the pmap headers, identify_cpu and initcpu
[dragonfly/port-amd64.git] / sys / platform / pc64 / include / cpu.h
blob995b6c8d8ebb9cb10c251b7fad5bb6380af727eb
1 /*
2 * $DragonFly: src/sys/platform/pc64/include/cpu.h,v 1.1 2007/09/23 04:42:07 yanyh Exp $
3 */
5 #ifndef _MACHINE_CPU_H_
6 #define _MACHINE_CPU_H_
8 #include <cpu/cpu.h>
10 #define CLKF_USERMODE(framep) \
11 ((ISPL((framep)->if_cs) == SEL_UPL) || (framep->if_rflags /*& PSL_VM*/))
13 #endif