vbos/include/kernel/msr.h
Michael Shaw 57ed3eefe6 apic: Added madt entry struct types
This also moves madt parsing to apic.c
2023-02-28 19:51:37 -05:00

14 lines
219 B
C

#ifndef _MSR_H_
#define _MSR_H_
#include <kernel/common.h>
#define MSR_APIC_BASE 0x1B
#ifndef __ASM__
uint64_t rdmsr(uint32_t msr);
void wrmsr(uint32_t msr, uint64_t val);
#endif /* __ASM__ */
#endif /* _MSR_H_ */