Searched refs:ahcf (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/arm/ |
H A D | kvm.c | 249 static bool kvm_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf) in kvm_arm_get_host_cpu_features() argument 307 ahcf->target = init.target; in kvm_arm_get_host_cpu_features() 308 ahcf->dtb_compatible = "arm,arm-v8"; in kvm_arm_get_host_cpu_features() 310 err = read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64pfr0, in kvm_arm_get_host_cpu_features() 329 ahcf->isar.id_aa64pfr0 = 0x00000011; /* EL1&0, AArch64 only */ in kvm_arm_get_host_cpu_features() 332 err |= read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64pfr1, in kvm_arm_get_host_cpu_features() 334 err |= read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64smfr0, in kvm_arm_get_host_cpu_features() 336 err |= read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64dfr0, in kvm_arm_get_host_cpu_features() 338 err |= read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64dfr1, in kvm_arm_get_host_cpu_features() 340 err |= read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64isar0, in kvm_arm_get_host_cpu_features() [all …]
|
/openbmc/qemu/target/arm/hvf/ |
H A D | hvf.c | 855 static bool hvf_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf) in hvf_arm_get_host_cpu_features() argument 879 ahcf->dtb_compatible = "arm,arm-v8"; in hvf_arm_get_host_cpu_features() 880 ahcf->features = (1ULL << ARM_FEATURE_V8) | in hvf_arm_get_host_cpu_features() 895 r |= hv_vcpu_get_sys_reg(fd, HV_SYS_REG_MIDR_EL1, &ahcf->midr); in hvf_arm_get_host_cpu_features() 912 ahcf->isar = host_isar; in hvf_arm_get_host_cpu_features() 918 ahcf->reset_sctlr = 0x30100180; in hvf_arm_get_host_cpu_features() 924 ahcf->reset_sctlr |= 0x00800000; in hvf_arm_get_host_cpu_features()
|