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

Function mips_cpu_init

freebsd/mips/mips/cpu.c:280–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void
281mips_cpu_init(void)
282{
283 platform_cpu_init();
284 mips_get_identity(&cpuinfo);
285 num_tlbentries = cpuinfo.tlb_nentries;
286 mips_wr_wired(0);
287 tlb_invalidate_all();
288 mips_wr_wired(VMWIRED_ENTRIES);
289 mips_config_cache(&cpuinfo);
290 mips_vector_init();
291
292 mips_icache_sync_all();
293 mips_dcache_wbinv_all();
294}
295
296void
297cpu_identify(void)

Callers 9

mips_initFunction · 0.85
platform_startFunction · 0.85
platform_startFunction · 0.85
platform_startFunction · 0.85
mips_initFunction · 0.85
mips_initFunction · 0.85
mips_initFunction · 0.85
mips_initFunction · 0.85
mips_initFunction · 0.85

Calls 5

mips_get_identityFunction · 0.85
tlb_invalidate_allFunction · 0.85
mips_config_cacheFunction · 0.85
mips_vector_initFunction · 0.85
platform_cpu_initFunction · 0.50

Tested by

no test coverage detected