mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-14 18:04:10 +00:00

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.
18 lines
394 B
C
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);
|