Lines Matching refs:guest
80 #define cpu_guest_has_conf1 (cpu_data[0].guest.conf & (1 << 1))
81 #define cpu_guest_has_conf2 (cpu_data[0].guest.conf & (1 << 2))
82 #define cpu_guest_has_conf3 (cpu_data[0].guest.conf & (1 << 3))
83 #define cpu_guest_has_fpu (cpu_data[0].guest.options & LOONGARCH_CPU_FPU)
84 #define cpu_guest_has_perf (cpu_data[0].guest.options & LOONGARCH_CPU_PMP)
85 #define cpu_guest_has_watch (cpu_data[0].guest.options & LOONGARCH_CPU_WATCH)
86 #define cpu_guest_has_lsx (cpu_data[0].guest.ases & LOONGARCH_ASE_LSX)
87 #define cpu_guest_has_kscr(n) (cpu_data[0].guest.kscratch_mask & (1u << (n)))
92 #define cpu_guest_has_dyn_fpu (cpu_data[0].guest.options_dyn & LOONGARCH_CPU_FPU)
93 #define cpu_guest_has_dyn_perf (cpu_data[0].guest.options_dyn & LOONGARCH_CPU_PMP)
94 #define cpu_guest_has_dyn_lsx (cpu_data[0].guest.ases_dyn & LOONGARCH_ASE_LSX)