mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-09 06:13:54 +00:00

Align entire TF-A to use Arm in copyright header. Change-Id: Ief9992169efdab61d0da6bd8c5180de7a4bc2244 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
30 lines
957 B
C
30 lines
957 B
C
/*
|
|
* Copyright (c) 2019, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef LIB_BL_AUX_PARAMS_H
|
|
#define LIB_BL_AUX_PARAMS_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include <export/lib/bl_aux_params/bl_aux_params_exp.h>
|
|
|
|
/*
|
|
* Handler function that handles an individual aux parameter. Return true if
|
|
* the parameter was handled, and false if bl_aux_params_parse() should make its
|
|
* own attempt at handling it (for generic parameters).
|
|
*/
|
|
typedef bool (*bl_aux_param_handler_t)(struct bl_aux_param_header *param);
|
|
|
|
/*
|
|
* Interprets head as the start of an aux parameter list, and passes the
|
|
* parameters individually to handler(). Handles generic parameters directly if
|
|
* handler() hasn't already done so. If only generic parameters are expected,
|
|
* handler() can be NULL.
|
|
*/
|
|
void bl_aux_params_parse(u_register_t head,
|
|
bl_aux_param_handler_t handler);
|
|
|
|
#endif /* LIB_BL_AUX_PARAMS_H */
|