1 /* Contributed by Jon Beniston <jon@beniston.com>
3 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
23 #include "gdb/sim-lm32.h"
29 #define LM32_CSR_ICC 3
30 #define LM32_CSR_DCC 4
32 #define LM32_CSR_CFG 6
33 #define LM32_CSR_EBA 7
35 #define LM32_CSR_DEBA 9
36 #define LM32_CSR_JTX 0xe
37 #define LM32_CSR_JRX 0xf
38 #define LM32_CSR_BP0 0x10
39 #define LM32_CSR_BP1 0x11
40 #define LM32_CSR_BP2 0x12
41 #define LM32_CSR_BP3 0x13
42 #define LM32_CSR_WP0 0x18
43 #define LM32_CSR_WP1 0x19
44 #define LM32_CSR_WP2 0x1a
45 #define LM32_CSR_WP3 0x1b
48 #define LM32_EID_RESET 0
49 #define LM32_EID_BREAKPOINT 1
50 #define LM32_EID_INSTRUCTION_BUS_ERROR 2
51 #define LM32_EID_WATCHPOINT 3
52 #define LM32_EID_DATA_BUS_ERROR 4
53 #define LM32_EID_DIVIDE_BY_ZERO 5
54 #define LM32_EID_INTERRUPT 6
55 #define LM32_EID_SYSTEM_CALL 7
57 #endif /* LM32_SIM_H */
This page took 0.031082 seconds and 4 git commands to generate.