1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-03 06:03:17 +02:00

Export GetArmCpuId function

This commit is contained in:
Guillaume Chatelet
2019-01-17 15:28:04 +01:00
parent dc7a9ee697
commit 918553a21f
3 changed files with 20 additions and 12 deletions

View File

@ -15,6 +15,7 @@
#ifndef CPU_FEATURES_INCLUDE_CPUINFO_ARM_H_
#define CPU_FEATURES_INCLUDE_CPUINFO_ARM_H_
#include <stdint.h> // uint32_t
#include "cpu_features_macros.h"
CPU_FEATURES_START_CPP_NAMESPACE
@ -51,6 +52,9 @@ typedef struct {
ArmInfo GetArmInfo(void);
// Compute CpuId from ArmInfo.
uint32_t GetArmCpuId(const ArmInfo* const info);
////////////////////////////////////////////////////////////////////////////////
// Introspection functions