2 Copyright (C) 1998, 2007 Free Software Foundation, Inc.
3 Contributed by Cygnus Support.
5 This file is part of GDB, the GNU debugger.
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 2, or (at your option)
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 along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
25 /* Establish this object */
28 (struct sim_state
*sd
);
31 /* Parse a hardware definition */
33 struct hw
*sim_hw_parse
34 (struct sim_state
*sd
,
36 ...) __attribute__ ((format (printf
, 2, 3)));
39 /* Print the hardware tree */
42 (struct sim_state
*sd
,
43 void (*print
) (struct sim_state
*, const char *, va_list ap
));
46 /* Abort the simulation specifying HW as the reason */
52 ...) __attribute__ ((format (printf
, 3, 4)));
56 /* CPU: The simulation is running and the current CPU/CIA
57 initiates a data transfer. */
59 void sim_cpu_hw_io_read_buffer
68 void sim_cpu_hw_io_write_buffer
79 /* SYSTEM: A data transfer is being initiated by the system. */
81 unsigned sim_hw_io_read_buffer
82 (struct sim_state
*sd
,
89 unsigned sim_hw_io_write_buffer
90 (struct sim_state
*sd
,