URL
https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
51 |
nyawn |
/* hwp_server.h -- Header for hardware watchpoint handling
|
2 |
|
|
Copyright(C) 2010 Nathan Yawn <nyawn@opencores.org>
|
3 |
|
|
|
4 |
|
|
This file is part the advanced debug unit / bridge. GDB does not
|
5 |
|
|
have support for the OR1200's advanced hardware watchpoints. This
|
6 |
|
|
acts as a server for a client program that can read and set them.
|
7 |
|
|
|
8 |
|
|
This program is free software; you can redistribute it and/or modify
|
9 |
|
|
it under the terms of the GNU General Public License as published by
|
10 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
11 |
|
|
(at your option) any later version.
|
12 |
|
|
|
13 |
|
|
This program is distributed in the hope that it will be useful,
|
14 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
|
|
GNU General Public License for more details.
|
17 |
|
|
|
18 |
|
|
You should have received a copy of the GNU General Public License
|
19 |
|
|
along with this program; if not, write to the Free Software
|
20 |
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
21 |
|
|
|
22 |
|
|
#ifndef _HWP_SERVER_H_
|
23 |
|
|
#define _HWP_SERVER_H_
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
void hwp_init(int portNum);
|
27 |
|
|
int hwp_server_start(void);
|
28 |
|
|
void hwp_server_stop(void);
|
29 |
56 |
nyawn |
int hwp_get_available_watchpoint(void);
|
30 |
|
|
void hwp_return_watchpoint(int wp);
|
31 |
51 |
nyawn |
|
32 |
|
|
#endif
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.