aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm966e.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-15 08:15:59 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-17 11:38:07 -0800
commit23402315ce01071f30d7ec0c5ca7563ce41f1cc6 (patch)
tree2b1cad0044d857844f7d6b35b5ffadd390594c9b /src/target/arm966e.c
parent7bf1a86e473a12882bf6f71cb4d0d416394b69d4 (diff)
downloadriscv-openocd-23402315ce01071f30d7ec0c5ca7563ce41f1cc6.zip
riscv-openocd-23402315ce01071f30d7ec0c5ca7563ce41f1cc6.tar.gz
riscv-openocd-23402315ce01071f30d7ec0c5ca7563ce41f1cc6.tar.bz2
command_handler: change 'args' to CMD_ARGV
This patch converts all instances of 'args' in COMMAND_HANDLER routines to use CMD_ARGV macro.
Diffstat (limited to 'src/target/arm966e.c')
-rw-r--r--src/target/arm966e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm966e.c b/src/target/arm966e.c
index 0c08a60..ffc65cd 100644
--- a/src/target/arm966e.c
+++ b/src/target/arm966e.c
@@ -182,7 +182,7 @@ COMMAND_HANDLER(arm966e_handle_cp15_command)
if (CMD_ARGC >= 1)
{
uint32_t address;
- COMMAND_PARSE_NUMBER(u32, args[0], address);
+ COMMAND_PARSE_NUMBER(u32, CMD_ARGV[0], address);
if (CMD_ARGC == 1)
{
@@ -205,7 +205,7 @@ COMMAND_HANDLER(arm966e_handle_cp15_command)
else if (CMD_ARGC == 2)
{
uint32_t value;
- COMMAND_PARSE_NUMBER(u32, args[1], value);
+ COMMAND_PARSE_NUMBER(u32, CMD_ARGV[1], value);
if ((retval = arm966e_write_cp15(target, address, value)) != ERROR_OK)
{
command_print(cmd_ctx,