xref: /optee_os/lib/libutee/include/pta_device.h (revision 0b611081804ad802343983018731d41aecd8240b)
1*0b611081SSumit Garg /* SPDX-License-Identifier: BSD-2-Clause */
2*0b611081SSumit Garg /*
3*0b611081SSumit Garg  * Copyright (C) 2019, Linaro Limited
4*0b611081SSumit Garg  */
5*0b611081SSumit Garg 
6*0b611081SSumit Garg /*
7*0b611081SSumit Garg  * Enumerate the pseudo TAs that have the TA_FLAG_DEVICE_ENUM flag enabled.
8*0b611081SSumit Garg  */
9*0b611081SSumit Garg 
10*0b611081SSumit Garg #ifndef __PTA_DEVICE_H
11*0b611081SSumit Garg #define __PTA_DEVICE_H
12*0b611081SSumit Garg 
13*0b611081SSumit Garg #define PTA_DEVICE_UUID { 0x7011a688, 0xddde, 0x4053, \
14*0b611081SSumit Garg 		{ 0xa5, 0xa9, 0x7b, 0x3c, 0x4d, 0xdf, 0x13, 0xb8 } }
15*0b611081SSumit Garg 
16*0b611081SSumit Garg /*
17*0b611081SSumit Garg  * Get device UUIDs
18*0b611081SSumit Garg  *
19*0b611081SSumit Garg  * [out]     memref[0]        Array of device UUIDs
20*0b611081SSumit Garg  *
21*0b611081SSumit Garg  * Return codes:
22*0b611081SSumit Garg  * TEE_SUCCESS - Invoke command success
23*0b611081SSumit Garg  * TEE_ERROR_BAD_PARAMETERS - Incorrect input param
24*0b611081SSumit Garg  * TEE_ERROR_SHORT_BUFFER - Output buffer size less than required
25*0b611081SSumit Garg  */
26*0b611081SSumit Garg #define PTA_CMD_GET_DEVICES		0x0
27*0b611081SSumit Garg 
28*0b611081SSumit Garg #endif /* __PTA_DEVICE_H */
29