fwupd/plugins/uefi-capsule/fu-acpi-uefi.h
Mario Limonciello 2b96b9e933 Add a quirk for COD detection
Insyde has added a bit into the ACPI UEFI table that can be utilized
to detect if they have fixed the COD bug.

This means that COD can be turned on by default for X86 for all vendors
that support it, and if Insyde is encountered whenever that bit is active.
2023-02-19 08:38:52 +00:00

18 lines
394 B
C

/*
* Copyright (C) 2023 Mario Limonciello <mario.limonciello@amd.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <fwupdplugin.h>
#define FU_TYPE_ACPI_UEFI (fu_acpi_uefi_get_type())
G_DECLARE_FINAL_TYPE(FuAcpiUefi, fu_acpi_uefi, FU, ACPI_UEFI, FuAcpiTable)
FuFirmware *
fu_acpi_uefi_new(void);
gboolean
fu_acpi_uefi_cod_functional(FuAcpiUefi *self, GError **error);