Changeset a319ab04 in rtems


Ignore:
Timestamp:
May 28, 2009, 8:55:46 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
33ab74d
Parents:
7c8d65e
Message:

2009-05-25 Allan Hessenflow <allanh@…>

  • start/start.S: Correct call to boot_card to meet bfin abi by clearing l0 - l3 and allocating some stack space.
Location:
c/src/lib/libbsp/bfin/bf537Stamp
Files:
2 edited

Legend:

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

    r7c8d65e ra319ab04  
     12009-05-25      Allan Hessenflow <allanh@kallisti.com>
     2
     3        * start/start.S: Correct call to boot_card to meet bfin abi by
     4        clearing l0 - l3 and allocating some stack space.
     5
    162009-05-25      Allan Hessenflow <allanh@kallisti.com>
    27
  • c/src/lib/libbsp/bfin/bf537Stamp/start/start.S

    r7c8d65e ra319ab04  
    77#include <libcpu/cecRegs.h>
    88#include <libcpu/coreTimerRegs.h>
    9 
    10 #warning Call to boot_card has changed and needs checking.
    11 #warning The call is "void boot_card(const char* cmdline);"
    12 #warning Please check and remove these warnings.
    139
    1410#ifndef LO
     
    5046        p0.h = HI(SIC_IMASK);
    5147        p0.l = LO(SIC_IMASK);
     48        [p0] = r0;
     49
     50        /* clear any pending interrupts */
     51        p0.h = HI(CEC_ILAT);
     52        p0.l = LO(CEC_ILAT);
     53        r0 = 0xffff (z);
    5254        [p0] = r0;
    5355
     
    9799loop2:  p0 +=1;
    98100
     101        l0 = 0;
     102        l1 = 0;
     103        l2 = 0;
     104        l3 = 0;
     105        sp += -12;
     106        /* r0 == const char *cmdline (currently null) */
    99107        p0.h = _boot_card;
    100108        p0.l = _boot_card;
    101109        call (p0);
     110        sp += 12;
    102111
    103112        p0.h = _exit;
Note: See TracChangeset for help on using the changeset viewer.