Ignore:
Timestamp:
Oct 10, 2008, 3:46:32 PM (12 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
602aee20
Parents:
9a9f662
Message:

Update for status-checks.h changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c

    r9a9f662 r7495494  
    3737#include <rtems/status-checks.h>
    3838
    39 #define DEBUG_DONE() DEBUG_PRINT( "Done\n")
     39#define DEBUG_DONE() RTEMS_DEBUG_PRINT( "Done\n")
    4040
    4141#define MPC55XX_INTERRUPT_STACK_SIZE 0x1000
     
    8282        rtems_status_code sc = RTEMS_SUCCESSFUL;
    8383
    84         DEBUG_PRINT( "Initialize eDMA ...\n");
     84        RTEMS_DEBUG_PRINT( "Initialize eDMA ...\n");
    8585        sc = mpc55xx_edma_init();
    8686        if (sc != RTEMS_SUCCESSFUL) {
     
    158158        SIU.PCR [90].R = 0x400;
    159159
    160         DEBUG_PRINT( "BSP start ...\n");
    161 
    162         DEBUG_PRINT( "System clock          : %i\n", mpc55xx_get_system_clock());
    163         DEBUG_PRINT( "Memory start          : 0x%08x\n", bsp_ram_start);
    164         DEBUG_PRINT( "Memory end            : 0x%08x\n", bsp_ram_end);
    165         DEBUG_PRINT( "Memory size           : 0x%08x\n", bsp_ram_end - bsp_ram_start);
    166         DEBUG_PRINT( "Interrupt stack start : 0x%08x\n", interrupt_stack_start);
    167         DEBUG_PRINT( "Interrupt stack end   : 0x%08x\n", interrupt_stack_start + interrupt_stack_size);
    168         DEBUG_PRINT( "Interrupt stack size  : 0x%08x\n", interrupt_stack_size);
     160        RTEMS_DEBUG_PRINT( "BSP start ...\n");
     161
     162        RTEMS_DEBUG_PRINT( "System clock          : %i\n", mpc55xx_get_system_clock());
     163        RTEMS_DEBUG_PRINT( "Memory start          : 0x%08x\n", bsp_ram_start);
     164        RTEMS_DEBUG_PRINT( "Memory end            : 0x%08x\n", bsp_ram_end);
     165        RTEMS_DEBUG_PRINT( "Memory size           : 0x%08x\n", bsp_ram_end - bsp_ram_start);
     166        RTEMS_DEBUG_PRINT( "Interrupt stack start : 0x%08x\n", interrupt_stack_start);
     167        RTEMS_DEBUG_PRINT( "Interrupt stack end   : 0x%08x\n", interrupt_stack_start + interrupt_stack_size);
     168        RTEMS_DEBUG_PRINT( "Interrupt stack size  : 0x%08x\n", interrupt_stack_size);
    169169       
    170170        /*
     
    183183       
    184184        /* Initialize exceptions */
    185         DEBUG_PRINT( "Initialize exceptions ...\n");
     185        RTEMS_DEBUG_PRINT( "Initialize exceptions ...\n");
    186186        ppc_exc_initialize(
    187187          PPC_INTERRUPT_DISABLE_MASK_DEFAULT,
     
    192192
    193193        /* Initialize interrupts */
    194         DEBUG_PRINT( "Initialize interrupts ...\n");
     194        RTEMS_DEBUG_PRINT( "Initialize interrupts ...\n");
    195195        if (bsp_interrupt_initialize() != RTEMS_SUCCESSFUL) {
    196196                BSP_panic( "Cannot initialize interrupts");
     
    199199        }
    200200       
    201         DEBUG_PRINT( "BSP start done\n");
     201        RTEMS_DEBUG_PRINT( "BSP start done\n");
    202202
    203203        return;
Note: See TracChangeset for help on using the changeset viewer.