Home
last modified time | relevance | path

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

/openbmc/qemu/target/arm/
H A Dcpregs.h190 uint32_t cpregid = kvmid; in kvm_to_cpreg_id() local
192 cpregid |= CP_REG_AA64_MASK; in kvm_to_cpreg_id()
195 cpregid |= (1 << 15); in kvm_to_cpreg_id()
202 cpregid |= 1 << CP_REG_NS_SHIFT; in kvm_to_cpreg_id()
204 return cpregid; in kvm_to_cpreg_id()
211 static inline uint64_t cpreg_to_kvm_id(uint32_t cpregid) in cpreg_to_kvm_id() argument
215 if (cpregid & CP_REG_AA64_MASK) { in cpreg_to_kvm_id()
216 kvmid = cpregid & ~CP_REG_AA64_MASK; in cpreg_to_kvm_id()
219 kvmid = cpregid & ~(1 << 15); in cpreg_to_kvm_id()
220 if (cpregid & (1 << 15)) { in cpreg_to_kvm_id()