Lines Matching refs:bitfield
141 #define bitfield(x,f) ((x >> f##_BIT) & f##_MASK)
145 specs->vmcs_mem_type = bitfield(msr_image, VMX_VCR_VMCS_MEM_TYPE) != 0;
146 specs->vmcs_size = bitfield(msr_image, VMX_VCR_VMCS_SIZE);
170 specs->act_halt = bitfield(msr_image, VMX_VCR_ACT_HLT) != 0;
171 specs->act_shutdown = bitfield(msr_image, VMX_VCR_ACT_SHUTDOWN) != 0;
172 specs->act_SIPI = bitfield(msr_image, VMX_VCR_ACT_SIPI) != 0;
173 specs->act_CSTATE = bitfield(msr_image, VMX_VCR_ACT_CSTATE) != 0;
174 specs->cr3_targs = bitfield(msr_image, VMX_VCR_CR3_TARGS);
175 specs->max_msrs = (uint32_t)(512 * (1 + bitfield(msr_image, VMX_VCR_MAX_MSRS)));
176 specs->mseg_id = (uint32_t)bitfield(msr_image, VMX_VCR_MSEG_ID);