mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-01 22:34:22 +08:00
91d6df784d
These vestiges of the 20 year old emulator are just getting in the way. Punt all the dead code we either don't compile or don't use.
85 lines
3.2 KiB
C
85 lines
3.2 KiB
C
/* dbg_rdi.h -- ARMulator RDI interface: ARM6 Instruction Emulator.
|
|
Copyright (C) 1994 Advanced RISC Machines Ltd.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
#ifndef dbg_rdi__h
|
|
#define dbg_rdi__h
|
|
|
|
/***************************************************************************\
|
|
* Error Codes *
|
|
\***************************************************************************/
|
|
|
|
#define RDIError_NoError 0
|
|
|
|
#define RDIError_Reset 1
|
|
#define RDIError_UndefinedInstruction 2
|
|
#define RDIError_SoftwareInterrupt 3
|
|
#define RDIError_PrefetchAbort 4
|
|
#define RDIError_DataAbort 5
|
|
#define RDIError_AddressException 6
|
|
#define RDIError_IRQ 7
|
|
#define RDIError_FIQ 8
|
|
#define RDIError_Error 9
|
|
#define RDIError_BranchThrough0 10
|
|
|
|
#define RDIError_NotInitialised 128
|
|
#define RDIError_UnableToInitialise 129
|
|
#define RDIError_WrongByteSex 130
|
|
#define RDIError_UnableToTerminate 131
|
|
#define RDIError_BadInstruction 132
|
|
#define RDIError_IllegalInstruction 133
|
|
#define RDIError_BadCPUStateSetting 134
|
|
#define RDIError_UnknownCoPro 135
|
|
#define RDIError_UnknownCoProState 136
|
|
#define RDIError_BadCoProState 137
|
|
#define RDIError_BadPointType 138
|
|
#define RDIError_UnimplementedType 139
|
|
#define RDIError_BadPointSize 140
|
|
#define RDIError_UnimplementedSize 141
|
|
#define RDIError_NoMorePoints 142
|
|
#define RDIError_BreakpointReached 143
|
|
#define RDIError_WatchpointAccessed 144
|
|
#define RDIError_NoSuchPoint 145
|
|
#define RDIError_ProgramFinishedInStep 146
|
|
#define RDIError_UserInterrupt 147
|
|
#define RDIError_CantSetPoint 148
|
|
#define RDIError_IncompatibleRDILevels 149
|
|
|
|
#define RDIError_CantLoadConfig 150
|
|
#define RDIError_BadConfigData 151
|
|
#define RDIError_NoSuchConfig 152
|
|
#define RDIError_BufferFull 153
|
|
#define RDIError_OutOfStore 154
|
|
#define RDIError_NotInDownload 155
|
|
#define RDIError_PointInUse 156
|
|
#define RDIError_BadImageFormat 157
|
|
#define RDIError_TargetRunning 158
|
|
|
|
#define RDIError_LittleEndian 240
|
|
#define RDIError_BigEndian 241
|
|
#define RDIError_SoftInitialiseError 242
|
|
|
|
#define RDIError_InsufficientPrivilege 253
|
|
#define RDIError_UnimplementedMessage 254
|
|
#define RDIError_UndefinedMessage 255
|
|
|
|
#endif
|
|
|
|
extern unsigned int swi_mask;
|
|
|
|
#define SWI_MASK_DEMON (1 << 0)
|
|
#define SWI_MASK_ANGEL (1 << 1)
|
|
#define SWI_MASK_REDBOOT (1 << 2)
|