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

Function rmodule_number_relocations

src/lib/rmodule.c:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104static inline size_t rmodule_number_relocations(const struct rmodule *module)
105{
106 size_t r;
107
108 r = module->header->relocations_end_offset;
109 r -= module->header->relocations_begin_offset;
110 r /= sizeof(uintptr_t);
111 return r;
112}
113
114static void rmodule_copy_payload(const struct rmodule *module)
115{

Callers 1

rmodule_relocateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected