1 /*
2  * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef EA_HANDLE_H
8 #define EA_HANDLE_H
9 
10 /* Constants indicating the reason for an External Abort */
11 
12 /* External Abort received at SError vector */
13 #define ERROR_EA_ASYNC		0
14 
15 /* Synchronous External Abort received at Synchronous exception vector */
16 #define ERROR_EA_SYNC		1
17 
18 /* External Abort synchronized by ESB instruction */
19 #define ERROR_EA_ESB		2
20 
21 /* RAS event signalled as peripheral interrupt */
22 #define ERROR_INTERRUPT		3
23 
24 #define ASYNC_EA_REPLAY_COUNTER	U(100)
25 
26 #endif /* EA_HANDLE_H */
27