summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 21:47:25 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 21:47:25 +0200
commitf44f8881c89fcb2e6e59a64dd1401cc8097d1306 (patch)
treec5afd1b07497c70777b337c0725540c605829e06
parentb15ef62a0f3d1ed4793ea8d8ca497b35236055ae (diff)
downloadpcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.tar.gz
pcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.tar.bz2
pcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.tar.xz
pcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.zip
clean up
-rw-r--r--ToDo1
-rw-r--r--cli.c2
-rw-r--r--tools.h2
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 <addr|reg> - Read Data/Register\n"
" -w <addr|reg> - Write Data/Register\n"
-" -g <event> - 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();