|
tape-kernel 1.0
a modular modern independent kernel
|

Go to the source code of this file.
Functions | |
| int | __cpuid_supported (void) |
| void | __cpuid_get_vendor (uint32_t *ebx, uint32_t *edx, uint32_t *ecx) |
| uint32_t | __cpuid_get_features (void) |
| void | __getcpu (char *buffer, uint32_t buffer_len) |
| getcpu detects cpu vendor and model information | |
|
extern |
Referenced by __getcpu().
Referenced by __getcpu().
|
extern |
Referenced by __getcpu().
| void __getcpu | ( | char * | buffer, |
| uint32_t | buffer_len ) |
getcpu detects cpu vendor and model information
getcpu is a function that uses the cpuid instruction to detect the cpu vendor string and model information and formats it into a readable string
| buffer,the | output buffer for the cpu description string |
| buffer_len,the | size of the output buffer |
using getcpu is done with
Definition at line 29 of file cpu.c.
References __cpuid_get_features(), __cpuid_get_vendor(), __cpuid_supported(), itoa(), NULL, strcat(), and strcpy().