arm-hyp: read inactive cntv_ctl from saved context
Like SCTLR, CNTV_CTL is switched to/from hardware when we enable/disable the VCPU, so it must be read from a saved VCPU context when that VCPU isn't active. Signed-off-by: Nick Spinale <nick@nickspinale.com>
This commit is contained in:
parent
6477781221
commit
7bb2717e41
1 changed files with 1 additions and 0 deletions
|
|
@ -664,6 +664,7 @@ static inline bool_t vcpu_reg_saved_when_disabled(word_t field)
|
|||
{
|
||||
switch (field) {
|
||||
case seL4_VCPUReg_SCTLR:
|
||||
case seL4_VCPUReg_CNTV_CTL:
|
||||
#ifdef CONFIG_HAVE_FPU
|
||||
case seL4_VCPUReg_CPACR:
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue