Added a bunch of new stuff no time to figure out what's what, No longer any compiler warnings

This commit is contained in:
2021-11-02 21:03:11 +01:00
parent b4b615ae97
commit c9b789ed7b
25 changed files with 427 additions and 55 deletions

View File

@ -1,6 +1,6 @@
#include <cpuid.h> // NOTE: Only available in GCC
static int get_model(){
// NOT currently usefull!
/* static int get_model(){
int ebx, unused;
__cpuid(0, unused, ebx, unused, unused);
return ebx;
@ -14,3 +14,4 @@
__get_cpuid(1, &eax, &unused, &unused, &edx);
return edx & CPUID_FEAT_EDX_APIC;
}
*/