MCPcopy Create free account
hub / github.com/coreboot/coreboot / cbmem_devmem_terminate

Function cbmem_devmem_terminate

util/cbmem/devmem_drv.c:432–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void cbmem_devmem_terminate(void)
433{
434 unmap_memory(&lbtable_mapping);
435 close(mem_fd);
436 mem_fd = -1;
437}
438
439/* This is a work-around for a nasty problem introduced by initially having
440 * pointer sized entries in the lb_cbmem_ref structures. This caused problems

Callers 1

cbmem_drv_terminateFunction · 0.85

Calls 1

unmap_memoryFunction · 0.85

Tested by

no test coverage detected