TianoCore EDK2 master
|
#include <ResourceData/AmlResourceData.h>
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | AmlRdCompareDescId (IN CONST AML_RD_HEADER *Header, IN AML_RD_HEADER DescriptorId) |
AML_RD_HEADER EFIAPI | AmlRdGetDescId (IN CONST AML_RD_HEADER *Header) |
UINT32 EFIAPI | AmlRdGetSize (IN CONST AML_RD_HEADER *Header) |
EFI_STATUS EFIAPI | AmlRdSetEndTagChecksum (IN CONST AML_RD_HEADER *Header, IN UINT8 CheckSum) |
AML Resource Data.
Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AmlResourceData.c.
EFI_STATUS EFIAPI AmlRdSetEndTagChecksum | ( | IN CONST AML_RD_HEADER * | Header, |
IN UINT8 | CheckSum | ||
) |
Set the Checksum of an EndTag resource data.
ACPI 6.4, s6.4.2.9 "End Tag": "This checksum is generated such that adding it to the sum of all the data bytes will produce a zero sum." "If the checksum field is zero, the resource data is treated as if the checksum operation succeeded. Configuration proceeds normally."
[in] | Header | Pointer to the first byte of a resource data. |
[in] | CheckSum | Checksum value to set. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |
Definition at line 121 of file AmlResourceData.c.