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

Function unmap_ucode

freebsd/x86/x86/ucode.c:294–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294static void
295unmap_ucode(uintptr_t free, size_t len)
296{
297#ifdef __i386__
298 uintptr_t va;
299
300 for (va = free; va < free + len; va += PAGE_SIZE)
301 pmap_kremove(va);
302#else
303 (void)free;
304 (void)len;
305#endif
306}
307
308/*
309 * Search for an applicable microcode update, and load it. APs will load the

Callers 1

ucode_load_bspFunction · 0.85

Calls 1

pmap_kremoveFunction · 0.50

Tested by

no test coverage detected