arm_code_to_working_area() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDarm_code_to_working_area()

arm_code_to_working_area() function

Copies code to a working area. This will allocate room for the code plus the additional amount requested if the working area pointer is null.

Syntax

static int arm_code_to_working_area(struct target *target,     const uint32_t *code,     unsigned code_size,     unsigned additional,     struct working_area **area);

Arguments

target

Pointer to the target to copy code to

code

Pointer to the code area to be copied

code_size

Size of the code being copied

additional

Size of the additional area to be allocated in addition to code

area

Pointer to a pointer to a working area to copy code to

Return value

Success or failure of the operation

References

LocationReferrerText
arm_io.c:33
static int arm_code_to_working_area(struct target *target,
arm_io.c:141arm_nandwrite()
retval = arm_code_to_working_area(target, target_code_src, target_code_size,
arm_io.c:252arm_nandread()
retval = arm_code_to_working_area(target, target_code_src, target_code_size,

Call Tree

Functions calling arm_code_to_working_area()
Functions called by arm_code_to_working_area()
all items filtered out
arm_code_to_working_area()
Data read by arm_code_to_working_area()
Data written by arm_code_to_working_area()
arm_code_to_working_area()
arm_code_to_working_area()::retval
all items filtered out
Type of arm_code_to_working_area()
arm_code_to_working_area()
uint8_t
all items filtered out