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

Function init_cy486dx

freebsd/i386/i386/initcpu.c:165–181  ·  view source on GitHub ↗

* Cyrix 486S/DX series */

Source from the content-addressed store, hash-verified

163 * Cyrix 486S/DX series
164 */
165static void
166init_cy486dx(void)
167{
168 register_t saveintr;
169 u_char ccr2;
170
171 saveintr = intr_disable();
172 invd();
173
174 ccr2 = read_cyrix_reg(CCR2);
175#ifdef CPU_SUSP_HLT
176 ccr2 |= CCR2_SUSP_HLT;
177#endif
178
179 write_cyrix_reg(CCR2, ccr2);
180 intr_restore(saveintr);
181}
182
183/*
184 * Cyrix 5x86

Callers 1

initializecpuFunction · 0.85

Calls 5

read_cyrix_regFunction · 0.85
write_cyrix_regFunction · 0.85
intr_disableFunction · 0.50
invdFunction · 0.50
intr_restoreFunction · 0.50

Tested by

no test coverage detected