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

Function init_i486_on_386

freebsd/i386/i386/initcpu.c:286–296  ·  view source on GitHub ↗

* There are i486 based upgrade products for i386 machines. * In this case, BIOS doesn't enable CPU cache. */

Source from the content-addressed store, hash-verified

284 * In this case, BIOS doesn't enable CPU cache.
285 */
286static void
287init_i486_on_386(void)
288{
289 register_t saveintr;
290
291 saveintr = intr_disable();
292
293 load_cr0(rcr0() & ~(CR0_CD | CR0_NW)); /* CD = 0, NW = 0 */
294
295 intr_restore(saveintr);
296}
297#endif
298
299/*

Callers 1

initializecpuFunction · 0.85

Calls 4

intr_disableFunction · 0.50
load_cr0Function · 0.50
rcr0Function · 0.50
intr_restoreFunction · 0.50

Tested by

no test coverage detected