Changeset c1233a33 in rtems
- Timestamp:
- 09/04/18 13:35:37 (6 years ago)
- Branches:
- 5, master
- Children:
- 28fb5b71
- Parents:
- 156b77a
- git-author:
- Joel Sherrill <joel@…> (09/04/18 13:35:37)
- git-committer:
- Joel Sherrill <joel@…> (10/18/18 17:05:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bsps/powerpc/qemuppc/start/cmain.c
r156b77a rc1233a33 19 19 20 20 static void 21 __memcpy ( unsigned char *d, unsigned char *s, int len)21 __memcpy (void *dv, void *sv, size_t len) 22 22 { 23 unsigned char *d = (unsigned char *) dv; 24 unsigned char *s = (unsigned char *) sv; 25 23 26 while (len--) 24 27 *d++ = *s++; … … 26 29 27 30 static void 28 __bzero ( unsigned char *d, int len)31 __bzero (void *dv, size_t len) 29 32 { 33 unsigned char *d = (unsigned char *) dv; 34 30 35 while (len--) 31 36 *d++ = 0; … … 44 49 * init variable sections 45 50 */ 46 __memcpy (bsp_section_data_begin, bsp_section_data_load_begin, (int)bsp_section_data_size); 47 __bzero (bsp_section_bss_begin, (int)bsp_section_bss_size); 48 __bzero (bsp_section_sbss_begin, (int)bsp_section_sbss_size); 51 __memcpy( 52 (char *)bsp_section_data_begin, 53 (char *) bsp_section_data_load_begin, 54 (int)bsp_section_data_size 55 ); 56 __bzero((char *)bsp_section_bss_begin, (int)bsp_section_bss_size); 57 __bzero((char *)bsp_section_sbss_begin, (int)bsp_section_sbss_size); 49 58 /* printk( "start of BSP\n"); */ 50 59 boot_card(0);
Note: See TracChangeset
for help on using the changeset viewer.