mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
15 lines
287 B
C
15 lines
287 B
C
#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();
|
|
char* get_revision_from_cpuinfo();
|
|
bool is_raspberry_pi();
|
|
|
|
#endif
|
|
|