blob: 7cd7b6a1c8be08924ae462871eff7db872870a3c [file] [log] [blame]
Jeenu Viswambharan96c7df02017-11-30 12:54:15 +00001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef EA_HANDLE_H
8#define EA_HANDLE_H
Jeenu Viswambharan96c7df02017-11-30 12:54:15 +00009
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
Jeenu Viswambharan9a7ce2f2018-04-04 16:07:11 +010018/* External Abort synchronized by ESB instruction */
19#define ERROR_EA_ESB 2
20
Jeenu Viswambharand86cc5b2017-12-12 10:34:58 +000021/* RAS event signalled as peripheral interrupt */
22#define ERROR_INTERRUPT 3
23
Manish Pandey07952fb2023-05-25 13:46:14 +010024#define ASYNC_EA_REPLAY_COUNTER U(100)
25
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000026#endif /* EA_HANDLE_H */