Commit Graph

29 Commits

Author SHA1 Message Date
Dr-Noob
fbea497740 [v0.89] Change freq from int64 to int32, which fixes a compilation issue. Fix Makefile in Windows 2020-11-24 12:52:42 +01:00
Dr-Noob
8645b54b58 [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 2020-11-24 12:32:38 +01:00
Dr-Noob
eaa86522a4 [v0.88][ARM] Add very basic SoC detection (Android only) 2020-11-23 18:30:00 +01:00
Dr-Noob
c44a646cd1 [v0.85][ARM] Add SoC field in ARM and remove CPU Name field, which is only valid in x86. Fix Makefile for some strict compilers 2020-11-18 23:22:26 +01:00
Dr-Noob
cb78f18de1 [v0.84][BUGFIX] Fix more compilation issues 2020-11-10 22:46:39 +01:00
Dr-Noob
07f3f26ff6 [v0.84][BUGFIX] Fix more compilation issues 2020-11-10 22:45:14 +01:00
Dr-Noob
4f1722ead6 [v0.81][ARM][Refactoring] Refactoring and very basic ARM support 2020-11-05 13:44:46 +01:00
Dr-Noob
f4f68287aa [v0.8][Refactoring] Refactoring ARM code and source code tree 2020-11-05 11:01:46 +01:00
Dr-Noob
1fad4fd10b [v0.8][ARM] Building support in ARM 2020-11-05 09:28:41 +01:00
Dr-Noob
aa5f0a8b88 Add install option in Makefile 2020-09-21 13:07:18 +02:00
Dr-Noob
5148962fa3 Add code to detect CPU microarchitecture (Intel only, at the moment) 2020-08-31 13:18:25 +02:00
Dr-Noob
ad6c3c88ce Small corrections in code and Makefile 2020-07-12 15:39:34 +02:00
Dr-Noob
08f79bb914 Fix compilation in Windows and add support for bind to specific cores. Separate APIC code in other file 2020-07-06 01:16:59 +02:00
Dr-Noob
941bf35d03 Big refactoring. Move ascii managment to printer. Mix extended and standart cpuid functions in cpuid file. Old cpuid renamed to cpuid_asm. Store cpu name in cpuInfo struct 2020-06-28 15:51:30 +02:00
Dr-Noob
a2dab8129c Use standart types instead of int/long in specific files. This fixes a problem in Windows, were PP was not computed correctly. Compiling with C99 2020-06-22 12:47:14 +02:00
Dr-Noob
08ce1de122 Add fallback in Linux in case we cant get the freq from cpuid, using udev (welcome back, udev...) 2020-06-22 12:05:04 +02:00
Dr-Noob
1435978b37 Add release and debug targets in Makefile. Improve robustness by checking cache sizes and snprintf returns 2020-06-21 13:37:44 +02:00
Dr-Noob
b81d611282 Fetch freq from cpuid, instead of asking Linux (using /proc). This finally removes udev dependency. However, the support of cpuid 0x16 is limited, so this may break cpufetch on some systems 2020-06-20 13:24:50 +02:00
Dr-Noob
9f55672aa2 Divide source code from other stuff 2018-06-23 13:04:42 +02:00
Dr-Noob
e9b5fe5f0a Add gcc flags to improve reliability 2018-06-22 21:01:16 +02:00
Dr-Noob
3199ac739a Function to notify errors 2018-06-22 20:36:56 +02:00
Dr-Noob
7b059c046a Support for simple args options(currently, help and style). New feature to switch colors of logo, to improve visibility in bright terminals 2018-06-21 15:30:29 +02:00
Dr-Noob
49d59d6708 Fixed freq bug. Improved Makefile and fixed some minor errors 2018-05-21 15:36:32 +02:00
Dr-Noob
785545a008 Moved 01h(name) to standart and removed 02h(useless) 2018-03-31 12:16:08 +02:00
Dr-Noob
3e1f6af8ae Detecting CPU vendor. Support for printing ascii 2018-03-30 11:58:27 +02:00
Dr-Noob
978f283e1a Print all information 2018-03-29 23:27:59 +02:00
Dr-Noob
d857799002 Basic support for advanced instructions 2018-03-25 00:20:42 +01:00
Dr-Noob
97e21a64ba Moved to asm cpuid call. Support for CPU name string. Output skecth on main 2018-03-24 23:57:49 +01:00
Dr-Noob
7afefdb672 Added makefile 2018-03-24 18:18:50 +01:00