mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-05 18:48:45 +00:00

To make software license auditing simpler, use SPDX[0] license identifiers instead of duplicating the license text in every file. NOTE: Files that have been imported by FreeBSD have not been modified. [0]: https://spdx.org/ Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761a Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
17 lines
446 B
C
17 lines
446 B
C
/*
|
|
* Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef __TEESMC_OPTEED_MACROS_H__
|
|
#define __TEESMC_OPTEED_MACROS_H__
|
|
|
|
#include <runtime_svc.h>
|
|
|
|
#define TEESMC_OPTEED_RV(func_num) \
|
|
((SMC_TYPE_FAST << FUNCID_TYPE_SHIFT) | \
|
|
((SMC_32) << FUNCID_CC_SHIFT) | \
|
|
(62 << FUNCID_OEN_SHIFT) | \
|
|
((func_num) & FUNCID_NUM_MASK))
|
|
|
|
#endif /*__TEESMC_OPTEED_MACROS_H__*/
|