fwupd/plugins/optionrom
Richard Hughes 2e1245728f Call the superclass directly from subclassed devices
This allows a device subclass to call the parent method after doing an initial
action, or even deliberately not call the *generic* parent method at all.

It also simplifies the plugins; you no longer have to remember what the plugin
is deriving from and accidentally clobber the wrong superclass method.
2021-02-18 16:18:34 +00:00
..
fuzzing Use honggfuzz to fuzz firmware rather than AFL 2020-12-11 09:37:42 +00:00
fu-optionrom-device.c Call the superclass directly from subclassed devices 2021-02-18 16:18:34 +00:00
fu-optionrom-device.h trivial: Remove G_BEGIN_DECLS from all private headers 2019-10-09 20:02:16 +01:00
fu-plugin-optionrom.c Use FWUPD_COMPILATION define to indicate an in tree build 2021-01-22 14:01:25 -06:00
fu-rom-tool.c Rename and modernize the udev plugin 2019-10-09 14:59:54 +01:00
fu-self-test.c Install the installed tests 2020-08-28 10:10:43 -05:00
meson.build Move the plugin build logic to the plugins themselves 2021-02-18 14:46:20 +00:00
optionrom.quirk Set all FuUdevDevice plugins to use FU_QUIRKS_PLUGIN 2019-10-09 20:02:16 +01:00
README.md optionrom: Do not parse the image 2021-02-10 16:23:16 +00:00

OptionROM Support

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)