diff options
author | Nathan Binkert <nate@binkert.org> | 2010-03-16 08:15:16 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-03-16 08:15:16 -0700 |
commit | 86207a69e446b51ede7c6f713f1bbec55a2fd691 (patch) | |
tree | 5a1be9be3c6fde7bd7a5a0232032da392f199e08 /src/mem/ruby/network/orion/power_utils.hh | |
parent | edb59ed263697366a7817bf4c9afa5fe9841a156 (diff) | |
download | gem5-86207a69e446b51ede7c6f713f1bbec55a2fd691.tar.xz |
orion: Make declarations match definition
Diffstat (limited to 'src/mem/ruby/network/orion/power_utils.hh')
-rw-r--r-- | src/mem/ruby/network/orion/power_utils.hh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mem/ruby/network/orion/power_utils.hh b/src/mem/ruby/network/orion/power_utils.hh index 59123c1f7..8f0343989 100644 --- a/src/mem/ruby/network/orion/power_utils.hh +++ b/src/mem/ruby/network/orion/power_utils.hh @@ -28,8 +28,12 @@ #ifndef _POWER_UTILS_H #define _POWER_UTILS_H -extern unsigned SIM_power_Hamming(unsigned long int old_val, unsigned long int new_val, unsigned long int mask); + +#include "base/types.hh" + +extern uint32_t SIM_power_Hamming(uint64_t old_val, uint64_t new_val, + uint64_t mask); extern double logtwo(double x); -extern unsigned SIM_power_logtwo(unsigned long int x); +extern uint32_t SIM_power_logtwo(uint64_t x); #endif |