Changeset 525 for trunk/boot/tsar_mips32/boot_utils.h
- Timestamp:
- Aug 30, 2018, 10:25:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot_utils.h
r523 r525 107 107 * @ size : size of memory block to be copied in bytes. 108 108 ****************************************************************************/ 109 void boot_memcpy( void* dest, void* src, uint32_t size);109 void boot_memcpy( void * dest, const void * src, uint32_t size ); 110 110 111 111 /**************************************************************************** … … 116 116 * @ size : size of memory block to be filled in bytes. 117 117 ****************************************************************************/ 118 void boot_memset( void* base, int val, uint32_t size);118 void boot_memset( void * base, int val, uint32_t size ); 119 119 120 120 /**************************************************************************** … … 127 127 * @ returns the converted letter, or 'c' if conversion not possible. 128 128 ****************************************************************************/ 129 static inline unsigned char boot_to_lower( unsigned char c)129 static inline unsigned char boot_to_lower( unsigned char c ) 130 130 { 131 131 return ((c >= 'A') && (c <= 'Z')) ? (c | 0x20) : c; 132 133 132 } // boot_to_lower() 134 133 … … 138 137 * @ returns the converted letter, or 'c' if conversion not possible. 139 138 ****************************************************************************/ 140 static inline unsigned char boot_to_upper( unsigned char c)139 static inline unsigned char boot_to_upper( unsigned char c ) 141 140 { 142 141 return ((c >= 'a') && (c <= 'z')) ? (c & ~(0x20)) : c; 143 144 142 } // boot_to_upper() 145 143
Note: See TracChangeset
for help on using the changeset viewer.