mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-26 09:02:46 +00:00
feat: Add certs, init, io_uring, security, usr, virt subsystems, Nano editor & full LazyBox suite
This commit is contained in:
1 parent
ae5f4a96c4
commit
5662be29f5
27 files changed
+1870
-333
No files matched your search
@@ -4,12 +4,6 @@
|
||||
static cpu_info_t global_cpu_info;
|
||||
static bool cpu_detected = false;
|
||||
|
||||
static inline void cpuid(uint32_t code, uint32_t* a, uint32_t* b, uint32_t* c, uint32_t* d) {
|
||||
__asm__ volatile("cpuid"
|
||||
: "=a"(*a), "=b"(*b), "=c"(*c), "=d"(*d)
|
||||
: "a"(code));
|
||||
}
|
||||
|
||||
void cpuid_detect(cpu_info_t* info) {
|
||||
uint32_t eax, ebx, ecx, edx;
|
||||
|
||||
|
||||
Reference in new issue
Block a user