Changeset 340d782 in rtems


Ignore:
Timestamp:
Apr 17, 2010, 5:34:34 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
dace69bf
Parents:
6832a7e6
Message:

2010-04-17 Mike Frysinger <vapier.adi@…>

  • cpu.c: Blackfin ABI requires L registers to be 0 upon function entry.
Location:
cpukit/score/cpu/bfin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/bfin/ChangeLog

    r6832a7e6 r340d782  
     12010-04-17      Mike Frysinger <vapier.adi@gmail.com>
     2
     3        * cpu.c: Blackfin ABI requires L registers to be 0 upon function entry.
     4
    152010-03-27      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • cpukit/score/cpu/bfin/cpu.c

    r6832a7e6 r340d782  
    196196    the_context->register_rets = (uint32_t) entry_point;
    197197    the_context->imask = new_level ? 0 : 0xffff;
     198
     199    /* Blackfin C ABI requires L regs to be 0 upon func entry. */
     200    the_context->register_l0 = 0;
     201    the_context->register_l1 = 0;
     202    the_context->register_l2 = 0;
     203    the_context->register_l3 = 0;
    198204}
    199205
Note: See TracChangeset for help on using the changeset viewer.