diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-04-12 21:47:25 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-04-12 21:47:25 +0200 |
commit | f44f8881c89fcb2e6e59a64dd1401cc8097d1306 (patch) | |
tree | c5afd1b07497c70777b337c0725540c605829e06 | |
parent | b15ef62a0f3d1ed4793ea8d8ca497b35236055ae (diff) | |
download | pcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.tar.gz pcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.tar.bz2 pcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.tar.xz pcitool-f44f8881c89fcb2e6e59a64dd1401cc8097d1306.zip |
clean up
-rw-r--r-- | ToDo | 1 | ||||
-rw-r--r-- | cli.c | 2 | ||||
-rw-r--r-- | tools.h | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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" @@ -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(); |