X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/35edb766593d019b89a3f40b6d6cdd2b50f18032..16fb450c33b13d04930644f19f47a99307acf366:/include/debug.h diff --git a/include/debug.h b/include/debug.h index 39c15b0..b7b6dea 100644 --- a/include/debug.h +++ b/include/debug.h @@ -4,14 +4,25 @@ * (C) Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * SPDX-License-Identifier: GPL-2.0+ + * SPDX-License-Identifier: GPL-2.0 */ #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); +size_t get_freemem(void); + #ifdef DEBUG #define _DEBUG 1 @@ -43,8 +54,4 @@ #endif #endif /* 0 */ - -void printfreelist(const char * title); - - #endif /* DEBUG_H_ */