diff options
| author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-01 13:02:24 +0200 | 
|---|---|---|
| committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-01 13:02:24 +0200 | 
| commit | 3b7c9585db2dd49b48123d50e9e8af7bc527be52 (patch) | |
| tree | 543433d697a4131e362ff6cf158324479dd89af8 /src/target/armv4_5_mmu.h | |
| parent | a0b83e82f7fa1833f7ac137d052335c55d1a4223 (diff) | |
| parent | 977df18f50f0f4d2310787787c03d83c2498da1a (diff) | |
| download | openocd+libswd-3b7c9585db2dd49b48123d50e9e8af7bc527be52.tar.gz openocd+libswd-3b7c9585db2dd49b48123d50e9e8af7bc527be52.tar.bz2 openocd+libswd-3b7c9585db2dd49b48123d50e9e8af7bc527be52.tar.xz openocd+libswd-3b7c9585db2dd49b48123d50e9e8af7bc527be52.zip | |
Merge remote branch 'origin/master' into HEAD
Diffstat (limited to 'src/target/armv4_5_mmu.h')
| -rw-r--r-- | src/target/armv4_5_mmu.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/target/armv4_5_mmu.h b/src/target/armv4_5_mmu.h index f39834e2..937a90e8 100644 --- a/src/target/armv4_5_mmu.h +++ b/src/target/armv4_5_mmu.h @@ -28,7 +28,7 @@ struct armv4_5_mmu_common  {  	int (*get_ttb)(struct target *target, uint32_t *result);  	int (*read_memory)(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); -	int (*write_memory)(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); +	int (*write_memory)(struct target *target, uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer);  	int (*disable_mmu_caches)(struct target *target, int mmu, int d_u_cache, int i_cache);  	int (*enable_mmu_caches)(struct target *target, int mmu, int d_u_cache, int i_cache);  	struct armv4_5_cache_common armv4_5_cache; @@ -46,7 +46,7 @@ int armv4_5_mmu_read_physical(struct target *target,  int armv4_5_mmu_write_physical(struct target *target,  		struct armv4_5_mmu_common *armv4_5_mmu, -		uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); +		uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer);  enum  { | 
