[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:
Dr-Noob
2020-11-24 12:28:41 +01:00
parent 220dd02abd
commit 8645b54b58
8 changed files with 217 additions and 249 deletions

12
src/arm/udev.h Normal file
View 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