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:
parent
b1cff440b7
commit
d0bb9f1249
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue