Changeset 525 for trunk/boot/tsar_mips32/boot_utils.c
- Timestamp:
- Aug 30, 2018, 10:25:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot_utils.c
r523 r525 222 222 223 223 /////////////////////////////////////////////////////// 224 void boot_memcpy( void * dst, void * src, uint32_t size)224 void boot_memcpy( void * dst, const void * src, uint32_t size ) 225 225 { 226 226 uint32_t * wdst = dst; 227 uint32_t * wsrc = src;227 const uint32_t * wsrc = src; 228 228 229 229 // word-by-word copy if both addresses are word-aligned … … 238 238 239 239 unsigned char * cdst = (unsigned char *)wdst; 240 unsigned char * csrc = (unsigned char *)wsrc;240 const unsigned char * csrc = (const unsigned char *)wsrc; 241 241 242 242 // byte-by-byte copy if: … … 250 250 251 251 //////////////////////////////////////////////////// 252 void boot_memset( void * dst, int val, uint32_t size)252 void boot_memset( void * dst, int val, uint32_t size ) 253 253 { 254 254 val &= 0xFF;
Note: See TracChangeset
for help on using the changeset viewer.