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

Function bpdt_write

util/cbfstool/ifwitool.c:1170–1174  ·  view source on GitHub ↗

Write BPDT to output buffer after fixup. */

Source from the content-addressed store, hash-verified

1168
1169/* Write BPDT to output buffer after fixup. */
1170static void bpdt_write(struct buffer *dst, size_t offset, struct buffer *src)
1171{
1172 bpdt_fixup_write_buffer(src);
1173 memcpy(buffer_get(dst) + offset, buffer_get(src), buffer_size(src));
1174}
1175
1176/*
1177 * Follows these steps to re-create image:

Callers 1

ifwi_writeFunction · 0.85

Calls 4

bpdt_fixup_write_bufferFunction · 0.85
buffer_getFunction · 0.85
buffer_sizeFunction · 0.85
memcpyFunction · 0.50

Tested by

no test coverage detected