Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Avoid strict-aliasing related issues when compiling with optimization
[palacios.git] / linux_usr / v3_user_dvfs.h
1 #ifndef _V3_USER_DVFS_
2 #define _V3_USER_DVFS_
3
4 #include <stdint.h>
5 #include "v3_ctrl.h"
6 #include "iface-pstate-ctrl.h"
7
8 // Use these together
9 int v3_user_dvfs_acquire_direct(uint32_t core); 
10 int v3_user_dvfs_set_pstate(uint32_t core, uint64_t pstate);
11
12 // Use these together
13 int v3_user_dvfs_acquire_external(uint32_t core); 
14 int v3_user_dvfs_set_freq(uint32_t core, uint64_t freq_khz);
15
16 int v3_user_dvfs_release(uint32_t core); 
17
18 #endif
19