fwupd/plugins/optionrom
Richard Hughes c4b7f42e43 Only compress one version of the builtin-quirks
Saving the quirks in the GResource section worked well, but it made the build
system very complicated and also meant the .data section was duplicated in
both `fwupd` and `fwupdtool` -- negating a lot of the hard-fought savings.

Simplify this feature so that we just `cat` all the quirk files together, then
gzip them into a single file. This means that at startup fwupd only needs to
check the mtime of one file, and weirdly it's actually faster to load a smaller
compressed file from disk that it is to load multiple uncompressed files.
2022-09-27 12:44:04 +01:00
..
fuzzing Use honggfuzz to fuzz firmware rather than AFL 2020-12-11 09:37:42 +00:00
fu-optionrom-device.c optionrom: Reorder plugins FuDevice->probe() to speed up daemon startup 2022-06-14 21:01:57 +01:00
fu-optionrom-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-optionrom.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-self-test.c Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
meson.build Only compress one version of the builtin-quirks 2022-09-27 12:44:04 +01:00
optionrom.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00

OptionROM

Introduction

This plugin is also able to read and parse the firmware of some PCI devices which allows some host state verification to be done.

GUID Generation

These devices use the standard USB DeviceInstanceId values, e.g.

  • PCI\VEN_%04X&DEV_%04X

Vendor ID Security

The device is not upgradable and thus requires no vendor ID set.

External Interface Access

This plugin requires read access to the rom file of PCI devices (/sys/class/pci_bus/*/device/rom)