From: Hugo Villeneuve Date: Mon, 10 Feb 2014 04:47:58 +0000 (-0500) Subject: Rename DumpMem function -> memory_dump X-Git-Tag: v2.0.1~21 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=93c2708beede1eae6700f622279560ac2620290e;p=emu8051.git Rename DumpMem function -> memory_dump --- diff --git a/src/cli/parser.y b/src/cli/parser.y index 82b632e..fecd6b2 100644 --- a/src/cli/parser.y +++ b/src/cli/parser.y @@ -128,19 +128,19 @@ dump_mem: TOK_DE NUMBER NUMBER TOK_ENTER { log_debug(" Dump External Data Memory at $%04X, len %d", $2, $3); - DumpMem($2, $3, EXT_MEM_ID); + memory_dump($2, $3, EXT_MEM_ID); } | TOK_DI NUMBER NUMBER TOK_ENTER { log_debug(" Dump Internal Data Memory at $%04X, len %d", $2, $3); - DumpMem($2, $3, INT_MEM_ID); + memory_dump($2, $3, INT_MEM_ID); } | TOK_DP NUMBER NUMBER TOK_ENTER { log_debug(" Dump Program Memory at $%04X, len %d", $2, $3); - DumpMem($2, $3, PGM_MEM_ID); + memory_dump($2, $3, PGM_MEM_ID); } ; diff --git a/src/common/memory.c b/src/common/memory.c index 4b17ffa..a2a33a5 100644 --- a/src/common/memory.c +++ b/src/common/memory.c @@ -220,7 +220,7 @@ pgm_read_addr16(uint16_t base) /* Dump memory */ void -DumpMem(unsigned int address, int size, int memory_id) +memory_dump(unsigned int address, int size, int memory_id) { int rc; int Offset, Column; diff --git a/src/common/memory.h b/src/common/memory.h index 9b3bae1..f7911f7 100644 --- a/src/common/memory.h +++ b/src/common/memory.h @@ -92,6 +92,6 @@ uint16_t pgm_read_addr16(uint16_t base); void -DumpMem(unsigned int address, int size, int memory_id); +memory_dump(unsigned int address, int size, int memory_id); #endif /* MEMORY_H */