TianoCore EDK2 master
|
#include <AmlNodeDefines.h>
#include <AmlCoreInterface.h>
#include <AmlInclude.h>
#include <Api/AmlApiHelper.h>
#include <CodeGen/AmlResourceDataCodeGen.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | AmlUpdateRdInterrupt (IN AML_DATA_NODE_HANDLE InterruptRdNode, IN UINT32 Irq) |
EFI_STATUS EFIAPI | AmlUpdateRdInterruptEx (IN AML_DATA_NODE_HANDLE InterruptRdNode, IN BOOLEAN ResourceConsumer, IN BOOLEAN EdgeTriggered, IN BOOLEAN ActiveLow, IN BOOLEAN Shared, IN UINT32 *IrqList, IN UINT8 IrqCount) |
EFI_STATUS EFIAPI | AmlUpdateRdQWord (IN AML_DATA_NODE_HANDLE QWordRdNode, IN UINT64 BaseAddress, IN UINT64 BaseAddressLength) |
AML Update Resource Data.
Copyright (c) 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AmlResourceDataApi.c.
EFI_STATUS EFIAPI AmlUpdateRdInterruptEx | ( | IN AML_DATA_NODE_HANDLE | InterruptRdNode, |
IN BOOLEAN | ResourceConsumer, | ||
IN BOOLEAN | EdgeTriggered, | ||
IN BOOLEAN | ActiveLow, | ||
IN BOOLEAN | Shared, | ||
IN UINT32 * | IrqList, | ||
IN UINT8 | IrqCount | ||
) |
Update the interrupt list of an interrupt resource data node.
The InterruptRdNode corresponds to the Resource Data created by the "Interrupt ()" ASL function. It is an Extended Interrupt Resource Data. See ACPI 6.3 specification, s6.4.3.6 "Extended Interrupt Descriptor" for more information about Extended Interrupt Resource Data.
[in] | InterruptRdNode | Pointer to the an extended interrupt resource data node. |
[in] | ResourceConsumer | The device consumes the specified interrupt or produces it for use by a child device. |
[in] | EdgeTriggered | The interrupt is edge triggered or level triggered. |
[in] | ActiveLow | The interrupt is active-high or active-low. |
[in] | Shared | The interrupt can be shared with other devices or not (Exclusive). |
[in] | IrqList | Interrupt list. Must be non-NULL. |
[in] | IrqCount | Interrupt count. Must be non-zero. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |
EFI_OUT_OF_RESOURCES | Out of resources. |
Definition at line 158 of file AmlResourceDataApi.c.