Debug on SWI support
[riscose.git] / src / armul / rsp-server.h
blob9449f3f43e6a9a502fc15e3c524bc25c67d32b86
1 /* rsp-server.c -- Remote Serial Protocol server for GDB
3 Copyright (C) 2008 Embecosm Limited
5 Contributor Jeremy Bennett <jeremy.bennett@embecosm.com>
7 This file is part of Or1ksim, the OpenRISC 1000 Architectural Simulator.
9 This program is free software; you can redistribute it and/or modify it
10 under the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 3 of the License, or (at your option)
12 any later version.
14 This program is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 more details.
19 You should have received a copy of the GNU General Public License along
20 with this program. If not, see <http://www.gnu.org/licenses/>. */
22 /* This program is commented throughout in a fashion suitable for processing
23 with Doxygen. */
26 #ifndef RSP_SERVER__H
27 #define RSP_SERVER__H
30 /* Function prototypes for external use */
31 extern void rsp_init ();
32 extern void handle_rsp ();
33 extern void rsp_exception (unsigned long int except);
35 extern void rsp_check_instruction ( ARMword pc );
36 extern void rsp_check_swi ( ARMword nuber );
37 extern void rsp_check_memory_read( ARMword addr );
38 extern void rsp_check_memory_write( ARMword addr );
40 #endif /* RSP_SERVER__H */