From f44f8881c89fcb2e6e59a64dd1401cc8097d1306 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 12 Apr 2011 21:47:25 +0200 Subject: clean up --- ToDo | 1 + cli.c | 2 +- tools.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ToDo b/ToDo index 29a1d70..75f6912 100644 --- a/ToDo +++ b/ToDo @@ -1,2 +1,3 @@ 1. Support registers with bit shifts 2. Hint for register value representation in the bank (hex, decimal) +3. Implement software registers diff --git a/cli.c b/cli.c index 03b60c0..866f701 100644 --- a/cli.c +++ b/cli.c @@ -115,7 +115,7 @@ void Usage(int argc, char *argv[], const char *format, ...) { " -p - Performance Evaluation\n" " -r - Read Data/Register\n" " -w - Write Data/Register\n" -" -g - Grab Event\n" +" -g [event] - Grab Event\n" " --reset - Reset board\n" " --help - Help message\n" "\n" diff --git a/tools.h b/tools.h index 747fc37..f357789 100644 --- a/tools.h +++ b/tools.h @@ -17,7 +17,7 @@ void pcilib_swap(void *dst, void *src, size_t size, size_t n); void * pcilib_memcpy8(void * dst, void const * src, size_t len); void * pcilib_memcpy32(void * dst, void const * src, size_t len); void * pcilib_memcpy64(void * dst, void const * src, size_t len); -void * pcilib_datacpy32(void * dst, void const * src, uint8_t size, size_t n, pcilib_endianess_t big_endian); +void * pcilib_datacpy32(void * dst, void const * src, uint8_t size, size_t n, pcilib_endianess_t endianess); int pcilib_get_page_mask(); -- cgit v1.2.3