mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00

Change-Id: If57ec9cc0791f49d9ade83dff9d24ef9047963a8 Co-authored-by: Jean-Paul Etienne <jean-paul.etienne@arm.com> Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
26 lines
600 B
C
26 lines
600 B
C
/*
|
|
* Copyright (c) 2018, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef SPRT_HOST_H
|
|
#define SPRT_HOST_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "sprt_common.h"
|
|
|
|
/*
|
|
* Initialize the specified buffer to be used by SPM.
|
|
*/
|
|
void sprt_initialize_queues(void *buffer_base, size_t buffer_size);
|
|
|
|
/*
|
|
* Push a message to the queue number `queue_num` in a buffer that has been
|
|
* initialized by `sprt_initialize_queues`.
|
|
*/
|
|
int sprt_push_message(void *buffer_base,
|
|
const struct sprt_queue_entry_message *message,
|
|
int queue_num);
|
|
|
|
#endif /* SPRT_HOST_H */
|