mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-09-13 17:51:13 +02:00
When querying `SMCCC_ARCH_WORKAROUND_1` through `SMCCC_ARCH_FEATURES`, return either: * -1 to indicate the PE on which `SMCCC_ARCH_FEATURES` is called requires firmware mitigation for CVE-2017-5715 but the mitigation is not compiled in. * 0 to indicate that firmware mitigation is required, or * 1 to indicate that no firmware mitigation is required. This patch complies with v1.2 of the firmware interfaces specification (ARM DEN 0070A). Change-Id: Ibc32d6620efdac6c340758ec502d95554a55f02a Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
13 lines
292 B
C
13 lines
292 B
C
/*
|
|
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __WORKAROUND_CVE_2017_5715_H__
|
|
#define __WORKAROUND_CVE_2017_5715_H__
|
|
|
|
int check_workaround_cve_2017_5715(void);
|
|
|
|
#endif /* __WORKAROUND_CVE_2017_5715_H__ */
|