Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2021-10-28 14:56:57 +0300
committerGuillaume Chatelet <gchatelet@google.com>2021-10-28 14:56:57 +0300
commitf96d5f74d492bd88eda9f8c583f10b3f6d0a3227 (patch)
tree30a006756001e24d99120cbe95d4adc8662a2411 /include
parentdeb2a61b808eda88d448609a6442d5426e802d9d (diff)
NFC remove reference to libc memory functions
Diffstat (limited to 'include')
-rw-r--r--include/cpuinfo_ppc.h1
-rw-r--r--include/cpuinfo_x86.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/include/cpuinfo_ppc.h b/include/cpuinfo_ppc.h
index c3f71a0..da3e696 100644
--- a/include/cpuinfo_ppc.h
+++ b/include/cpuinfo_ppc.h
@@ -70,7 +70,6 @@ typedef struct {
PPCFeatures features;
} PPCInfo;
-// This function is guaranteed to be malloc, memset and memcpy free.
PPCInfo GetPPCInfo(void);
typedef struct {
diff --git a/include/cpuinfo_x86.h b/include/cpuinfo_x86.h
index 6285391..5988bb9 100644
--- a/include/cpuinfo_x86.h
+++ b/include/cpuinfo_x86.h
@@ -107,13 +107,11 @@ typedef struct {
} X86Info;
// Calls cpuid and returns an initialized X86info.
-// This function is guaranteed to be malloc, memset and memcpy free.
X86Info GetX86Info(void);
// Returns cache hierarchy informations.
// Can call cpuid multiple times.
// Only works on Intel CPU at the moment.
-// This function is guaranteed to be malloc, memset and memcpy free.
CacheInfo GetX86CacheInfo(void);
typedef enum {
@@ -162,7 +160,6 @@ X86Microarchitecture GetX86Microarchitecture(const X86Info* info);
// Calls cpuid and fills the brand_string.
// - brand_string *must* be of size 49 (beware of array decaying).
// - brand_string will be zero terminated.
-// - This function calls memcpy.
void FillX86BrandString(char brand_string[49]);
////////////////////////////////////////////////////////////////////////////////