mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v1.03][ARM] Use SID to improve Allwinner SoC detection. Should help with #173
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "../common/udev.h"
|
||||
|
||||
#define _PATH_SUNXI_NVMEM "/sys/bus/nvmem/devices/sunxi-sid0/nvmem"
|
||||
|
||||
#define UNKNOWN -1
|
||||
int get_ncores_from_cpuinfo(void);
|
||||
uint32_t get_midr_from_cpuinfo(uint32_t core, bool* success);
|
||||
|
||||
Reference in New Issue
Block a user