MCPcopy Create free account
hub / github.com/F-Stack/f-stack / init_transmeta

Function init_transmeta

freebsd/i386/i386/initcpu.c:617–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615
616#if defined(I586_CPU) || defined(I686_CPU)
617static void
618init_transmeta(void)
619{
620 u_int regs[0];
621
622 /* Expose all hidden features. */
623 wrmsr(0x80860004, rdmsr(0x80860004) | ~0UL);
624 do_cpuid(1, regs);
625 cpu_feature = regs[3];
626}
627#endif
628
629/*

Callers 1

initializecpuFunction · 0.85

Calls 3

wrmsrFunction · 0.50
rdmsrFunction · 0.50
do_cpuidFunction · 0.50

Tested by

no test coverage detected