diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-03-31 18:37:19 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-01 08:59:07 +0200 |
commit | 2615bf4398f393ee1e387128064093dcd44749c8 (patch) | |
tree | f9e610d2ec9e68438397114e6e13997a48b8e62e /src/target/arm920t.c | |
parent | d76fd2aac798b4b052a50883ac148cbc19080d4a (diff) |
types: write memory now uses const
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/arm920t.c')
-rw-r--r-- | src/target/arm920t.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c index a3a5adf1..210c253d 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -602,7 +602,7 @@ static int arm920t_read_phys_memory(struct target *target, static int arm920t_write_phys_memory(struct target *target, uint32_t address, uint32_t size, - uint32_t count, uint8_t *buffer) + uint32_t count, const uint8_t *buffer) { struct arm920t_common *arm920t = target_to_arm920(target); @@ -613,7 +613,7 @@ static int arm920t_write_phys_memory(struct target *target, /** Writes a buffer, in the specified word size, with current MMU settings. */ int arm920t_write_memory(struct target *target, uint32_t address, - uint32_t size, uint32_t count, uint8_t *buffer) + uint32_t size, uint32_t count, const uint8_t *buffer) { int retval; const uint32_t cache_mask = ~0x1f; /* cache line size : 32 byte */ |