Suren A. Chilingaryan 13 năm trước cách đây
mục cha
commit
f44f8881c8
3 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 1 0
      ToDo
  2. 1 1
      cli.c
  3. 1 1
      tools.h

+ 1 - 0
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

+ 1 - 1
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"

+ 1 - 1
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();