X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-pstate-ctrl.h;h=dd3577c56817d74e221b537793843fa9dc4604f9;hb=366bf119d0307245296101e01bf509afab3eb9f8;hp=adc6daa568b7a67ee929780b60628081f9532cfe;hpb=d3fa9d0b82291fafc35ce9bb7e777256d78c0ecd;p=palacios.git diff --git a/linux_module/iface-pstate-ctrl.h b/linux_module/iface-pstate-ctrl.h index adc6daa..dd3577c 100644 --- a/linux_module/iface-pstate-ctrl.h +++ b/linux_module/iface-pstate-ctrl.h @@ -34,8 +34,8 @@ void palacios_pstate_ctrl_acquire(uint32_t type); void palacios_pstate_ctrl_release(void); -uint8_t palacios_pstate_ctrl_get_pstate(void); -void palacios_pstate_ctrl_set_pstate(uint8_t p); +uint64_t palacios_pstate_ctrl_get_pstate(void); +void palacios_pstate_ctrl_set_pstate(uint64_t p); uint64_t palacios_pstate_ctrl_get_freq(void); void palacios_pstate_ctrl_set_freq(uint64_t f_khz); @@ -52,7 +52,7 @@ struct v3_dvfs_ctrl_request { // Direct for setting pstate directly using module uint32_t pcore; // Which core we mean uint64_t freq_khz; // for setfreq - uint8_t pstate; // for setpstate + uint64_t pstate; // for setpstate }; #endif