1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00

Make some functions private

This commit is to complete commit 7df646a2749f6ef942f9684d66fee14614a74314.
This commit is contained in:
Xorg 2015-10-15 16:37:19 +02:00
parent b1cff440b7
commit d0bb9f1249

View file

@ -406,7 +406,7 @@ static int perfmsr_measure(struct msr_driver_t* handle, int msr)
#define PLATFORM_INFO_MSR_low 8
#define PLATFORM_INFO_MSR_high 15
int get_bits_value(unsigned long val, int highbit, int lowbit)
static int get_bits_value(unsigned long val, int highbit, int lowbit)
{
unsigned long data = val;
int bits = highbit - lowbit + 1;
@ -417,7 +417,7 @@ int get_bits_value(unsigned long val, int highbit, int lowbit)
return(data);
}
uint64_t cpu_rdmsr_range(struct msr_driver_t* handle, uint32_t reg, unsigned int highbit,
static uint64_t cpu_rdmsr_range(struct msr_driver_t* handle, uint32_t reg, unsigned int highbit,
unsigned int lowbit, int* error_indx)
{
uint64_t data;