Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
openocd
Commits
b8387ea2
Commit
b8387ea2
authored
Aug 19, 2008
by
oharboe
Browse files
fixed warning
git-svn-id:
svn://svn.berlios.de/openocd/trunk@946
b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent
d8057f6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/target/mips32_pracc.c
View file @
b8387ea2
...
...
@@ -266,7 +266,7 @@ int mips32_pracc_read_mem32(mips_ejtag_t *ejtag_info, u32 addr, int count, u32 *
MIPS32_NOP
,
};
int
retval
;
int
retval
=
ERROR_OK
;
int
blocksize
;
int
bytesread
;
u32
param_in
[
2
];
...
...
@@ -282,9 +282,11 @@ int mips32_pracc_read_mem32(mips_ejtag_t *ejtag_info, u32 addr, int count, u32 *
param_in
[
0
]
=
addr
;
param_in
[
1
]
=
blocksize
;
if
((
retval
=
mips32_pracc_exec
(
ejtag_info
,
sizeof
(
code
)
/
sizeof
(
code
[
0
]),
code
,
\
if
((
retval
=
mips32_pracc_exec
(
ejtag_info
,
sizeof
(
code
)
/
sizeof
(
code
[
0
]),
code
,
sizeof
(
param_in
)
/
sizeof
(
param_in
[
0
]),
param_in
,
blocksize
,
&
buf
[
bytesread
],
1
))
!=
ERROR_OK
)
{
return
retval
;
}
count
-=
blocksize
;
addr
+=
blocksize
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment