Changeset c187b50 in rtems


Ignore:
Timestamp:
Apr 7, 2010, 9:49:20 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
de237f4
Parents:
09d053e8
Message:

2010-04-07 Joel Sherrill <joel.sherrill@…>

  • include/bsp.h: Rename poorly named define "M" to "JOEL_M" since I can't find it used anywhere. When code breaks, someone will suggest a better name. But "M" conflicted with user code.
  • start/start.S: Verify boot_card() is passed a NULL.
Location:
c/src/lib/libbsp/arm/rtl22xx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/rtl22xx/ChangeLog

    r09d053e8 rc187b50  
     12010-04-07      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * include/bsp.h: Rename poorly named define "M" to "JOEL_M" since
     4        I can't find it used anywhere.  When code breaks, someone will
     5        suggest a better name.  But "M" conflicted with user code.
     6        * start/start.S: Verify boot_card() is passed a NULL.
     7
    182009-10-21      Ralf Corsépius <ralf.corsepius@rtems.org>
    29
  • c/src/lib/libbsp/arm/rtl22xx/include/bsp.h

    r09d053e8 rc187b50  
    8686#define Fcco    (Fcclk <<2)       //CCO freq 2,4,8,16 time of Fcclk 156MHz~320MHz
    8787#define Fpclk   (Fcclk >>2) * 1   //VPB freq only(Fcclk / 4) 1~4
    88 #define M       Fcclk / Fosc
     88/* This was M.  That is a BAD BAD public constant.  I renamed it to
     89 * JOEL_M so it wouldn't conflict with user code.  If you can find
     90 * a better name, fix this.  But nothing I found uses it.
     91 */
     92#define JOEL_M       Fcclk / Fosc
    8993#define P_min   Fcco_MIN / (2*Fcclk) + 1;
    9094#define P_max   Fcco_MAX / (2*Fcclk);
  • c/src/lib/libbsp/arm/rtl22xx/start/start.S

    r09d053e8 rc187b50  
    1212 *  $Id$
    1313*/
    14 
    15 #warning Call to boot_card has changed and needs checking.
    16 #warning The call is "void boot_card(const char* cmdline);"
    17 #warning You need to pass a NULL.
    18 #warning Please check and remove these warnings.
    1914
    2015/* Some standard definitions...*/
     
    105100
    106101
     102        /* Now we are prepared to start the BSP's C code */
     103        mov     r0, #0
    107104#ifdef __thumb__
    108         /* Now we are prepared to start the BSP's C code */
    109105        ldr     r3, =boot_card
    110106        bx      r3
Note: See TracChangeset for help on using the changeset viewer.