xref: /rk3399_ARM-atf/services/std_svc/drtm/drtm_remediation.h (revision 7042fa6d39e3a8341f9318d0b57b83bd51dd8124)
1*1436e37dSManish V Badarkhe /*
2*1436e37dSManish V Badarkhe  * Copyright (c) 2022 Arm Limited. All rights reserved.
3*1436e37dSManish V Badarkhe  *
4*1436e37dSManish V Badarkhe  * SPDX-License-Identifier:    BSD-3-Clause
5*1436e37dSManish V Badarkhe  *
6*1436e37dSManish V Badarkhe  */
7*1436e37dSManish V Badarkhe #ifndef DRTM_REMEDIATION_H
8*1436e37dSManish V Badarkhe #define DRTM_REMEDIATION_H
9*1436e37dSManish V Badarkhe 
10*1436e37dSManish V Badarkhe uint64_t drtm_set_error(uint64_t x1, void *ctx);
11*1436e37dSManish V Badarkhe uint64_t drtm_get_error(void *ctx);
12*1436e37dSManish V Badarkhe 
13*1436e37dSManish V Badarkhe void drtm_enter_remediation(uint64_t error_code, const char *error_str);
14*1436e37dSManish V Badarkhe 
15*1436e37dSManish V Badarkhe #endif /* DRTM_REMEDIATION_H */
16