1 /* 2 * Copyright (c) 2023, Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @brief Encode interrupt flag for x86 architecture. 9 * 10 * @param polarity the interrupt polarity received from ACPICA lib 11 * @param trigger the interrupt level received from ACPICA lib 12 * @return return encoded interrupt flag 13 */ 14 uint32_t arch_acpi_encode_irq_flags(uint8_t polarity, uint8_t trigger); 15