Method

FwupdPluginFmapFirmwareset_signature_offset

since: 2.0.17

Declaration [src]

void
fu_fmap_firmware_set_signature_offset (
  FuFmapFirmware* self,
  gsize signature_offset
)

Description [src]

Sets the signature offset. This is different to the offset returned by fu_firmware_get_offset() which points to the position of the entire image with regards to the parent.

The FLASH region for example enumerates the entire size of the stream, and the __FMAP__ header may be positioned in a FMAP section within the image. This “signature offset” points to the __FMAP__ header itself.

Available since: 2.0.17

Parameters

signature_offset

Type: gsize

Raw offset.