Changeset 018008cc in rtems


Ignore:
Timestamp:
Sep 10, 2007, 1:55:25 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
891a8254
Parents:
27d33ed
Message:

2007-09-10 Alain Schaefer <alani@…>

  • shared/start/start.S: Initialize bss to zero.
Location:
c/src/lib/libbsp/bfin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/bfin/ChangeLog

    r27d33ed r018008cc  
     12007-09-10      Alain Schaefer <alani@easc.ch>
     2
     3        * shared/start/start.S: Initialize bss to zero.
     4
    152007-08-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/bfin/shared/start/start.S

    r27d33ed r018008cc  
    2121
    2222
    23     .text
    24     .align  2
     23    .section .l1code
     24    .align  4
    2525
    2626    .global __start
     
    6565    START:
    6666    [--SP] = RETI;
     67   
     68    p0.h = _bss_start;
     69    p0.l = _bss_start;
     70    p1.h = _end;
     71    p1.l = _end;
     72    r0 = p0;
     73    r1 = p1;
     74    r1 = r1 - r0;
     75    p1 = r1;   
     76    r0 = 0;
     77
     78    /* Set _bss_start until _end to zero */
     79    lsetup(loop1,loop2) LC0 = p1;
     80    loop1:     b[p0] = r0;
     81    loop2:  p0 +=1;
     82
    6783    p0.l = _boot_card;
    6884    p0.h = _boot_card;
Note: See TracChangeset for help on using the changeset viewer.