vbos/amd64/include/arch/msr.h
Michael Shaw c01b1d7eee syscall: add basic syscall entry
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-15 16:36:38 -04:00

12 lines
209 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _MSR_H_
#define _MSR_H_
#include <kernel/types.h>
#define IA32_GS_BASE 0xC0000101
u64 rdmsr(u32 msr);
void wrmsr(u32 msr, u64 val);
#endif /* _MSR_H_ */