IMG_MEM_CacheHeader Function

C

FW_IMG_HDR* IMG_MEM_CacheHeader(DEVICE_CONTEXT * ctx, 

Description

This function cache a header from a firmware image slot

Parameters

Param Description
ctx A context structure
top Pointer to an image memory topology
pSlot The image header slot to cache the header from
buffer Pointer to a buffer in which to cache the header
bufSlot Offset in the buffer in HEADER_SIZE units. If a header is cached the contents of this pointer will be incremented by 1.

Returns

FW_IMG_HDR Firmware image header pointer