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

Function map_ucode

freebsd/x86/x86/ucode.c:280–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280static void *
281map_ucode(uintptr_t free, size_t len)
282{
283#ifdef __i386__
284 uintptr_t va;
285
286 for (va = free; va < free + len; va += PAGE_SIZE)
287 pmap_kenter(va, (vm_paddr_t)va);
288#else
289 (void)len;
290#endif
291 return ((void *)free);
292}
293
294static void
295unmap_ucode(uintptr_t free, size_t len)

Callers 1

ucode_load_bspFunction · 0.85

Calls 1

pmap_kenterFunction · 0.50

Tested by

no test coverage detected