From aa38f7e8869c84f4d65f9633dbbf0ff1a991ec84 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Mon, 11 Aug 2003 15:39:29 +0000 Subject: [PATCH] 2003-08-11 Marcel Telka * 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 --- include/ChangeLog | 4 ++++ include/brux/bus.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 71395d3a..8c097679 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-08-11 Marcel Telka + + * brux/bus.h (struct bus): Added new member 'printinfo'. + 2003-07-30 Marcel Telka * configure.ac (AC_INIT): Changed version number to 0.3. diff --git a/include/brux/bus.h b/include/brux/bus.h index b1a31a10..90086a3c 100644 --- a/include/brux/bus.h +++ b/include/brux/bus.h @@ -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)