IMG_MEM_CacheAndValidateHeaders Function

C

void IMG_MEM_CacheAndValidateHeaders(DEVICE_CONTEXT * ctx, uint8_t * buffer);

Description

This function cache, validate, and sort headers from all firmware image slots for valid topologies Prerequisite: ctx initialized with FindValidTopologies

Parameters

Param Description
ctx A device context structure
buffer A buffer for cached headers (HEADER_SIZE MAX_SLOTS bytes)

Returns

None