mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 22:35:42 +00:00

Enable the SPMC to handle calls to FFA_PARTITION_INFO_GET. This allows the normal world to discover which partitions are running in the secure world including logical partitions in EL3. This implementation supports both the v1.0 and v1.1 implementations of the Partition Info Get Descriptor. The SPMC populates the appropriate descriptor in the partitions RX buffer, if requested, according to the version of FF-A that the caller is using. Additionally rename the common/uuid UUID_H include guard due to a conflict with another header file. Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I0a85f1dae50fae1fe47a3cafb765fbe9f40619e1
18 lines
448 B
C
18 lines
448 B
C
/*
|
|
* Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef UUID_COMMON_H
|
|
#define UUID_COMMON_H
|
|
|
|
#define UUID_BYTES_LENGTH 16
|
|
#define UUID_STRING_LENGTH 36
|
|
|
|
int read_uuid(uint8_t *dest, char *uuid);
|
|
bool uuid_match(uint32_t *uuid1, uint32_t *uuid2);
|
|
void copy_uuid(uint32_t *to_uuid, uint32_t *from_uuid);
|
|
bool is_null_uuid(uint32_t *uuid);
|
|
|
|
#endif /* UUID_COMMON_H */
|