Changeset 54d87f2 in rtems for bsps/powerpc/beatnik


Ignore:
Timestamp:
Sep 4, 2018, 4:28:57 PM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
2f61eb21
Parents:
9a21fc7
git-author:
Sebastian Huber <sebastian.huber@…> (09/04/18 16:28:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/06/18 05:04:28)
Message:

bsps/powerpc: Simplify ppc_exc_initialize()

Remove parameters from ppc_exc_initialize() since all BSPs passed the
same values.

Update #3459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/beatnik/start/bspstart.c

    r9a21fc7 r54d87f2  
    178178  unsigned char  *stack;
    179179  char           *chpt;
    180   uintptr_t       intrStackStart;
    181   uintptr_t       intrStackSize;
    182180
    183181  Triv121PgTbl  pt=0;
     
    232230  *((uint32_t *)stack) = 0;
    233231
    234   /*
    235    * Initialize the interrupt related settings
    236    * SPRG0 = interrupt nesting level count
    237    * SPRG1 = software managed IRQ stack
    238    *
    239    * This could be done latter (e.g in IRQ_INIT) but it helps to understand
    240    * some settings below...
    241    */
    242   intrStackStart = (uintptr_t)_Configuration_Interrupt_stack_area_begin;
    243   intrStackSize  = rtems_configuration_get_interrupt_stack_size();
    244 
    245   /*
    246    * Initialize default raw exception handlers. See vectors/vectors_init.c
    247    */
    248   ppc_exc_initialize(intrStackStart, intrStackSize);
     232  ppc_exc_initialize();
    249233
    250234  printk("CPU: %s\n", get_ppc_cpu_type_name(current_ppc_cpu));
Note: See TracChangeset for help on using the changeset viewer.