forked from xamidev/pepperOS
13 lines
279 B
C
13 lines
279 B
C
#ifndef X86_H
|
|
#define X86_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
uint64_t rdmsr(uint32_t msr);
|
|
void cpuid(uint32_t leaf, uint32_t* eax, uint32_t* ebx, uint32_t* ecx, uint32_t* edx);
|
|
void wrmsr(uint32_t msr, uint64_t value);
|
|
bool x86_has_msr();
|
|
void x86_arch_init();
|
|
|
|
#endif |