unified VC4 and ARM runtime code (including C++ runtime), updated some minor bits
[rpi-open-firmware.git] / vc4_include / exception.h
1 /*=============================================================================
2 Copyright (C) 2016-2017 Authors of rpi-open-firmware
3 All rights reserved.
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 FILE DESCRIPTION
16 VideoCore4 exceptions.
17
18 This file in the public release documents all exception names:
19 brcm_usrlib\dag\vmcsx\vcfw\rtos\none\rtos_none.c
20
21 =============================================================================*/
22
23 #pragma once
24
25 #define VC4_EXC_ZERO 0
26 #define VC4_EXC_MISALIGNED 1
27 #define VC4_EXC_DIVIDE_BY_ZERO 2
28 #define VC4_EXC_UNDEF 3
29 #define VC4_EXC_FORBIDDEN 4
30 #define VC4_EXC_ILLEGAL_MEM 5
31 #define VC4_EXC_BUS_ERROR 6
32 #define VC4_EXC_FPE 7
33 #define VC4_EXC_ISP 8
34 #define VC4_EXC_DUMMY 9
35 #define VC4_EXC_ICACHE 10
36 #define VC4_EXC_VEC_CORE 11
37 #define VC4_EXC_L2_ALIAS 12
38 #define VC4_EXC_BKPT 13
39
40 #define VC4_EXC_NAMES \
41 "Zero", \
42 "Misaligned", \
43 "Division by zero", \
44 "Undefined instruction", \
45 "Forbidden instruction", \
46 "Illegal memory", \
47 "Bus error", \
48 "Floating point exception", \
49 "ISP", \
50 "Dummy", \
51 "ICache", \
52 "Vector core exception", \
53 "Bad L2 alias", \
54 "Breakpoint"
This page took 0.07472 seconds and 4 git commands to generate.