/*----------------*\
|Nanite OS         |
|Copyright (C) 2026|
|Xircon            |
\*----------------*/
#ifdef __I686
#include "cpuid.h"

#include <stdint.h>

char CPUID_Get_Vendor() {
    uint32_t eax, ebx, ecx, edx;
    eax = 0x00;
    ecx = 0x0;
    __asm__ volatile (
        "cpuid"
        : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
        : "a"(eax), "c"(ecx)
    );
    char returnme = ebx+ecx+edx;
    return ebx;
}
#endif