Skip to content

Commit

Permalink
trivial: Set vmpidr value to vcpu instead pcpu
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pavey <[email protected]>
  • Loading branch information
Alex Pavey authored and Alex Pavey committed Nov 17, 2022
1 parent f3d10f7 commit 882e6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsel4vm/src/arch/arm/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ int vcpu_start(vm_vcpu_t *vcpu)
*/
vmpidr_val = BIT(24) | BIT(31);
} else {
vmpidr_val = vcpu->target_cpu;
vmpidr_val = vcpu->vcpu_id;
}
err = vm_set_arm_vcpu_reg(vcpu, vmpidr_reg, vmpidr_val);
if (err) {
Expand Down

0 comments on commit 882e6c3

Please sign in to comment.