X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Finterfaces%2Fvmm_pstate_ctrl.c;h=a7a9ce8d73c50d1c39c0ad8452f24dff78351d97;hb=366bf119d0307245296101e01bf509afab3eb9f8;hp=e810b47d1efbde1e42d381b18f0aaa18193bfb23;hpb=d3fa9d0b82291fafc35ce9bb7e777256d78c0ecd;p=palacios.git diff --git a/palacios/src/interfaces/vmm_pstate_ctrl.c b/palacios/src/interfaces/vmm_pstate_ctrl.c index e810b47..a7a9ce8 100644 --- a/palacios/src/interfaces/vmm_pstate_ctrl.c +++ b/palacios/src/interfaces/vmm_pstate_ctrl.c @@ -51,7 +51,7 @@ void v3_acquire_pstate_ctrl(uint32_t type) } -uint8_t v3_get_cpu_pstate(void) +uint64_t v3_get_cpu_pstate(void) { if (pstate_ctrl_hooks && pstate_ctrl_hooks->get_pstate) { return pstate_ctrl_hooks->get_pstate(); @@ -60,7 +60,7 @@ uint8_t v3_get_cpu_pstate(void) } } -void v3_set_cpu_pstate (uint8_t p) +void v3_set_cpu_pstate (uint64_t p) { if (pstate_ctrl_hooks && pstate_ctrl_hooks->set_pstate) { pstate_ctrl_hooks->set_pstate(p);