1.2.5.3.10 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

ParamDescription
ctxA device context structure
bufferA buffer for cached headers (HEADER_SIZE MAX_SLOTS bytes)

Returns

None