Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
cpuid.c File Reference
#include <type.h>
#include <hal/cpu/cpuid.h>

Go to the source code of this file.

Functions

void cpuid (uint32_t leaf, uint32_t subleaf, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx)
 
int cpuid_get_model (void)
 
boolean_t cpuid_check_apic (void)
 
int cpuid_get_bsp_id (void)
 

Function Documentation

◆ cpuid()

void cpuid ( uint32_t leaf,
uint32_t subleaf,
uint32_t * eax,
uint32_t * ebx,
uint32_t * ecx,
uint32_t * edx )

◆ cpuid_check_apic()

boolean_t cpuid_check_apic ( void )

Definition at line 31 of file cpuid.c.

References cpuid().

◆ cpuid_get_bsp_id()

int cpuid_get_bsp_id ( void )

Definition at line 37 of file cpuid.c.

References cpuid().

◆ cpuid_get_model()

int cpuid_get_model ( void )

Definition at line 21 of file cpuid.c.

References cpuid().