1 /* 2 * Copyright 2014, Paweł Dziepak, pdziepak@quarnos.org. 3 * Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. 4 * Distributed under the terms of the MIT License. 5 */ 6 7 8 #include <OS.h> 9 10 #include <cpuid.h> 11 12 13 status_t 14 get_cpuid(cpuid_info* info, uint32 eax, uint32 cpuNum) 15 { 16 __cpuid_count(eax, 0, info->regs.eax, info->regs.ebx, info->regs.ecx, 17 info->regs.edx); 18 19 return B_OK; 20 } 21 22