Changeset 5797b67 in rtems


Ignore:
Timestamp:
Aug 1, 2007, 9:51:23 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
67ef0f1
Parents:
eec7c441
Message:

2007-08-01 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, startup/bspstart.c: Use shared ShowBATS() method.
Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    reec7c441 r5797b67  
     12007-08-01      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, startup/bspstart.c: Use shared ShowBATS() method.
     4
    152007-07-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    26
  • c/src/lib/libbsp/powerpc/ep1a/Makefile.am

    reec7c441 r5797b67  
    3030    ../../shared/gnatinstallhandler.c \
    3131    ../../powerpc/shared/startup/pgtbl_setup.c \
    32     ../../powerpc/shared/startup/pgtbl_activate.c
     32    ../../powerpc/shared/startup/pgtbl_activate.c \
     33    ../../powerpc/shared/showbats.c
    3334startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
    3435startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    reec7c441 r5797b67  
    4141extern void BSP_pgtbl_activate();
    4242extern void BSP_vme_config();
     43extern void ShowBATS();
    4344unsigned int rsPMCQ1Init();
    4445
     
    4647SPR_RW(SPRG1)
    4748
    48 void ShowBATS(){
    49   uint32_t lower;
    50   uint32_t upper;
    51 
    52   __MFSPR(536, upper);
    53   __MFSPR(537, lower);
    54   printk("BAT0 %08x %08x\n", upper, lower );
    55  
    56   __MFSPR(538, upper);
    57   __MFSPR(539, lower);
    58   printk("BAT1 %08x %08x\n", upper, lower );
    59                                                                                                                  
    60   __MFSPR(540, upper);
    61   __MFSPR(541, lower);
    62   printk("BAT2 %08x %08x\n", upper, lower );
    63                                                                                                                  
    64   __MFSPR(542, upper);
    65   __MFSPR(543, lower);
    66   printk("BAT3 %08x %08x\n", upper, lower );
    67                                                                                                                  
    68 }
    69 
    7049uint8_t LightIdx = 0;
     50
    7151void BSP_Increment_Light(){
    7252  uint8_t data;
Note: See TracChangeset for help on using the changeset viewer.