mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
Add code to detect CPU microarchitecture (Intel only, at the moment)
This commit is contained in:
10
src/uarch.h
Normal file
10
src/uarch.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __UARCH__
|
||||
#define __UARCH__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct uarch;
|
||||
|
||||
struct uarch* get_uarch_from_cpuid(uint32_t ef, uint32_t f, uint32_t em, uint32_t m, int s);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user