mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-02 08:49:28 +00:00

This commit reorders the include files in accordance with the guidelines provided by Trusted Firmware-A (TF-A). The include files are rearranged to ensure a consistent and organized structure in the codebase, facilitating better readability and maintainability. https: //trustedfirmware-a.readthedocs.io/en/latest/process/coding-style.html#headers-and-inclusion https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git/tree/script/static-checks/ For example, to run header check: /tf-a-ci-scripts/script/static-checks/check-include-order.py --tree ${PWD} > Includefileorder.txt Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Change-Id: Ia5802722e69859596b94f31ec40755adbf7d865b
37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2013-2020, Arm Limited and Contributors. All rights reserved.
|
|
* Copyright (c) 2020-2022, Xilinx, Inc. All rights reserved.
|
|
* Copyright (c) 2022, Advanced Micro Devices, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef PM_IPI_H
|
|
#define PM_IPI_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <plat_ipi.h>
|
|
#include "pm_common.h"
|
|
|
|
#define IPI_BLOCKING 1
|
|
#define IPI_NON_BLOCKING 0
|
|
|
|
void pm_ipi_init(const struct pm_proc *proc);
|
|
|
|
enum pm_ret_status pm_ipi_send(const struct pm_proc *proc,
|
|
uint32_t payload[PAYLOAD_ARG_CNT]);
|
|
enum pm_ret_status pm_ipi_send_non_blocking(const struct pm_proc *proc,
|
|
uint32_t payload[PAYLOAD_ARG_CNT]);
|
|
enum pm_ret_status pm_ipi_send_sync(const struct pm_proc *proc,
|
|
uint32_t payload[PAYLOAD_ARG_CNT],
|
|
uint32_t *value, size_t count);
|
|
enum pm_ret_status pm_ipi_buff_read_callb(uint32_t *value, size_t count);
|
|
void pm_ipi_irq_enable(const struct pm_proc *proc);
|
|
void pm_ipi_irq_clear(const struct pm_proc *proc);
|
|
uint32_t pm_ipi_irq_status(const struct pm_proc *proc);
|
|
#if IPI_CRC_CHECK
|
|
uint32_t calculate_crc(uint32_t payload[PAYLOAD_ARG_CNT], uint32_t buffersize);
|
|
#endif
|
|
|
|
#endif /* PM_IPI_H */
|