2003-08-11 Marcel Telka <marcel@telka.sk>

* brux/bus.h (struct bus): Added new member 'printinfo'.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@496 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent d20cf94c4e
commit aa38f7e886

@ -1,3 +1,7 @@
2003-08-11 Marcel Telka <marcel@telka.sk>
* brux/bus.h (struct bus): Added new member 'printinfo'.
2003-07-30 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.3.

@ -41,6 +41,7 @@ typedef struct bus bus_t;
struct bus {
void *params;
void (*printinfo)( void );
void (*prepare)( bus_t *bus );
unsigned int (*width)( bus_t *bus, uint32_t adr );
void (*read_start)( bus_t *bus, uint32_t adr );
@ -53,6 +54,7 @@ struct bus {
extern bus_t *bus;
#define bus_printinfo(bus) bus->printinfo()
#define bus_prepare(bus) bus->prepare(bus)
#define bus_width(bus,adr) bus->width(bus,adr)
#define bus_read_start(bus,adr) bus->read_start(bus,adr)

Loading…
Cancel
Save