2003-06-03 Marcel Telka <marcel@telka.sk>

* brux/cmd.h (cmds): Added external variable declaration.
	* brux/bus.h (bus): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@471 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent 62fba42f60
commit 2e57111a03

@ -1,3 +1,8 @@
2003-06-03 Marcel Telka <marcel@telka.sk>
* brux/cmd.h (cmds): Added external variable declaration.
* brux/bus.h (bus): Ditto.
2003-06-03 Marcel Telka <marcel@telka.sk>
* brux/cmd.h: New file extracted from jtag module, file src/cmd/cmd.h.

@ -51,6 +51,8 @@ struct bus {
void (*free)( bus_t *bus );
};
extern bus_t *bus;
#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)

@ -41,6 +41,8 @@ typedef struct {
int (*run)( char *params[] );
} cmd_t;
extern const cmd_t *cmds[];
int cmd_run( char *params[] );
int cmd_params( char *params[] );
int cmd_get_number( char *s, unsigned int *i );

Loading…
Cancel
Save