Home
last modified time | relevance | path

Searched refs:ahcf (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/arm/
H A Dkvm.c290 ahcf->target = init.target; in kvm_arm_get_host_cpu_features()
291 ahcf->dtb_compatible = "arm,arm-v8"; in kvm_arm_get_host_cpu_features()
293 err = read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64pfr0, in kvm_arm_get_host_cpu_features()
345 err |= read_sys_reg32(fdarray[2], &ahcf->isar.id_pfr0, in kvm_arm_get_host_cpu_features()
347 err |= read_sys_reg32(fdarray[2], &ahcf->isar.id_pfr1, in kvm_arm_get_host_cpu_features()
349 err |= read_sys_reg32(fdarray[2], &ahcf->isar.id_dfr0, in kvm_arm_get_host_cpu_features()
376 err |= read_sys_reg32(fdarray[2], &ahcf->isar.mvfr0, in kvm_arm_get_host_cpu_features()
378 err |= read_sys_reg32(fdarray[2], &ahcf->isar.mvfr1, in kvm_arm_get_host_cpu_features()
380 err |= read_sys_reg32(fdarray[2], &ahcf->isar.mvfr2, in kvm_arm_get_host_cpu_features()
416 ahcf->isar.dbgdidr = dbgdidr; in kvm_arm_get_host_cpu_features()
[all …]
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c842 static bool hvf_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf) in hvf_arm_get_host_cpu_features() argument
866 ahcf->dtb_compatible = "arm,arm-v8"; in hvf_arm_get_host_cpu_features()
867 ahcf->features = (1ULL << ARM_FEATURE_V8) | in hvf_arm_get_host_cpu_features()
882 r |= hv_vcpu_get_sys_reg(fd, HV_SYS_REG_MIDR_EL1, &ahcf->midr); in hvf_arm_get_host_cpu_features()
885 ahcf->isar = host_isar; in hvf_arm_get_host_cpu_features()
891 ahcf->reset_sctlr = 0x30100180; in hvf_arm_get_host_cpu_features()
897 ahcf->reset_sctlr |= 0x00800000; in hvf_arm_get_host_cpu_features()