mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-15 12:33:44 +00:00
![]() The CustomFlags feature is a bit of a hack where we just join the flags and store in the device metadata section as a string. This makes it inefficient to check if just one flag exists as we have to split the string to a temporary array each time. Rather than adding to the hack by splitting, appending (if not exists) then joining again, store the flags in the plugin privdata directly. This allows us to support negating custom properties (e.g. ~hint) and also allows quirks to append custom values without duplicating them on each GUID match, e.g. [USB\VID_17EF&PID_307F] Plugin = customflag1 [USB\VID_17EF&PID_307F&HUB_0002] Flags = customflag2 ...would result in customflag1,customflag2 which is the same as you'd get from an enumerated device flag doing the same thing. |
||
---|---|---|
.. | ||
fu-efi-common.c | ||
fu-efi-common.h | ||
fu-efi-firmware-common.c | ||
fu-efi-firmware-common.h | ||
fu-efi-firmware-file.c | ||
fu-efi-firmware-file.h | ||
fu-efi-firmware-filesystem.c | ||
fu-efi-firmware-filesystem.h | ||
fu-efi-firmware-section.c | ||
fu-efi-firmware-section.h | ||
fu-efi-firmware-volume.c | ||
fu-efi-firmware-volume.h | ||
fu-ifd-bios.c | ||
fu-ifd-bios.h | ||
fu-ifd-common.c | ||
fu-ifd-common.h | ||
fu-ifd-device.c | ||
fu-ifd-device.h | ||
fu-ifd-firmware.c | ||
fu-ifd-firmware.h | ||
fu-ifd-image.c | ||
fu-ifd-image.h | ||
fu-intel-spi-common.c | ||
fu-intel-spi-common.h | ||
fu-intel-spi-device.c | ||
fu-intel-spi-device.h | ||
fu-pci-device.c | ||
fu-pci-device.h | ||
fu-plugin-intel-spi.c | ||
fu-self-test.c | ||
generate-quirk.py | ||
intel-spi.quirk | ||
meson.build | ||
README.md |
SPI
Introduction
This plugin verifies the SPI contents, typically an Intel Flash descriptor. The result will be stored in an security attribute for HSI.
External interface access
This plugin requires read access to /dev/port
and thus will not work if the
kernel is locked down.