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
b87f0711
Commit
b87f0711
authored
Nov 13, 2009
by
Zachary T Welch
Browse files
mips_m4k_common_t -> struct mips_m4k_common
Remove misleading typedef and redundant suffix from struct mips_m4k_common.
parent
a8141caf
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/target/mips_m4k.c
View file @
b87f0711
...
...
@@ -917,7 +917,7 @@ int mips_m4k_init_target(struct command_context_s *cmd_ctx, struct target_s *tar
return
ERROR_OK
;
}
int
mips_m4k_init_arch_info
(
target_t
*
target
,
mips_m4k_common
_t
*
mips_m4k
,
struct
jtag_tap
*
tap
)
int
mips_m4k_init_arch_info
(
target_t
*
target
,
struct
mips_m4k_common
*
mips_m4k
,
struct
jtag_tap
*
tap
)
{
struct
mips32_common
*
mips32
=
&
mips_m4k
->
mips32_common
;
...
...
@@ -932,7 +932,7 @@ int mips_m4k_init_arch_info(target_t *target, mips_m4k_common_t *mips_m4k, struc
int
mips_m4k_target_create
(
struct
target_s
*
target
,
Jim_Interp
*
interp
)
{
mips_m4k_common
_t
*
mips_m4k
=
calloc
(
1
,
sizeof
(
mips_m4k_common
_t
));
struct
mips_m4k_common
*
mips_m4k
=
calloc
(
1
,
sizeof
(
struct
mips_m4k_common
));
mips_m4k_init_arch_info
(
target
,
mips_m4k
,
target
->
tap
);
...
...
src/target/mips_m4k.h
View file @
b87f0711
...
...
@@ -29,11 +29,11 @@ struct target_s;
#define MIPSM4K_COMMON_MAGIC 0xB321B321
typedef
struct
mips_m4k_common
_s
struct
mips_m4k_common
{
int
common_magic
;
struct
mips32_common
mips32_common
;
}
mips_m4k_common_t
;
};
int
mips_m4k_bulk_write_memory
(
struct
target_s
*
target
,
uint32_t
address
,
uint32_t
count
,
uint8_t
*
buffer
);
...
...
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