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

10 lines
158 B
C

static void main(void)
{
__builtin_msr_t msr;
msr = __builtin_rdmsr(0xC001001A);
while(__builtin_inb(0x3fd))
;
__builtin_outb(msr.hi, 0x3f8);
}