X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/8ed660166ce9cdeb63b4cf710c663407b7ec9128..aea51b6c4c93c56715f50e64d424e1181c6d0242:/include/debug.h diff --git a/include/debug.h b/include/debug.h index 0ee0129..659fd70 100644 --- a/include/debug.h +++ b/include/debug.h @@ -11,7 +11,18 @@ #ifndef DEBUG_H_ #define DEBUG_H_ -#include "common.h" +#include "command.h" + +command_ret_t do_dump_mem(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_mm_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_nm_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_eep_cp(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_pr_free_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_pr_heap_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []); + +void printfreelist(const char * title); +void dump_heap(void); + #ifdef DEBUG #define _DEBUG 1 @@ -43,8 +54,4 @@ #endif #endif /* 0 */ - -void printfreelist(const char * title); - - #endif /* DEBUG_H_ */