mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v0.89][ARM] Separate udev for ARM in a different file, since there are many functions that are ARM only. Refactoring of file reading code
This commit is contained in:
12
src/arm/udev.h
Normal file
12
src/arm/udev.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef __UDEV_ARM__
|
||||
#define __UDEV_ARM__
|
||||
|
||||
#include "../common/udev.h"
|
||||
|
||||
#define UNKNOWN -1
|
||||
int get_ncores_from_cpuinfo();
|
||||
uint32_t get_midr_from_cpuinfo(uint32_t core, bool* success);
|
||||
char* get_hardware_from_cpuinfo();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user