coreboot-libre-fam15h-rdimm/util/romcc/tests/simple_test35.c

10 lines
158 B
C
Raw Normal View History

2024-03-04 11:14:53 +01:00
static void main(void)
{
__builtin_msr_t msr;
msr = __builtin_rdmsr(0xC001001A);
while(__builtin_inb(0x3fd))
;
__builtin_outb(msr.hi, 0x3f8);
}