diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/cmd_mem.h | 26 | ||||
-rw-r--r-- | include/z80-if.h | 1 |
2 files changed, 14 insertions, 13 deletions
diff --git a/include/cmd_mem.h b/include/cmd_mem.h index b019d27..4b370cc 100644 --- a/include/cmd_mem.h +++ b/include/cmd_mem.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de> + * (C) Copyright 2014,2018 Leo C. <erbl259-lmu@yahoo.de> * * SPDX-License-Identifier: GPL-2.0 */ @@ -9,21 +9,21 @@ #include "command.h" - -extern command_ret_t do_mem_md(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_mm(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_nm(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_mw(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_cp(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_cmp(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_base(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_loop(cmd_tbl_t *, uint_fast8_t, int, char * const []); -extern command_ret_t do_mem_loopw(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_size(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_md(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_mm(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_nm(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_mw(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_cp(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_cmp(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_base(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_loop(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_loopw(cmd_tbl_t *, uint_fast8_t, int, char * const []); #ifdef CONFIG_CMD_MEMTEST -extern command_ret_t do_mem_mtest(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_mtest(cmd_tbl_t *, uint_fast8_t, int, char * const []); #endif #ifdef CONFIG_MX_CYCLIC -extern command_ret_t do_mem_mdc(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_mem_mdc(cmd_tbl_t *, uint_fast8_t, int, char * const []); #endif /* CONFIG_MX_CYCLIC */ #endif /* CMD_MEM_H */ diff --git a/include/z80-if.h b/include/z80-if.h index d5a5f56..0ad14f5 100644 --- a/include/z80-if.h +++ b/include/z80-if.h @@ -37,6 +37,7 @@ int z80_stat_reset(void); int z80_stat_halt(void); +int32_t z80_memsize_detect(void); void z80_write(uint32_t addr, uint8_t data); uint8_t z80_read(uint32_t addr); void z80_memset(uint32_t addr, uint8_t data, uint32_t length); |