Changeset 8e46b093 in rtems


Ignore:
Timestamp:
Dec 14, 2009, 2:51:50 PM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
44c28e7a
Parents:
0a7fb3c
Message:

Removed new-exceptions/bspsupport/ppc_exc_bspsupp.h

Location:
c/src/lib/libcpu/powerpc
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    r0a7fb3c r8e46b093  
     12009-12-04      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * new-exceptions/bspsupport/ppc_exc_bspsupp.h: Removed file.
     4        * new-exceptions/bspsupport/ppc_exc_test.c,
     5        new-exceptions/bspsupport/README: Update for removed file.
     6
    172009-12-01      Till Straumann <strauman@slac.stanford.edu>
    28
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/README

    r0a7fb3c r8e46b093  
    187187        BSP initialization; call
    188188
    189             initialize_exceptions();
    190                 BSP_rtems_irq_mngt_set();
     189        rtems_status_code sc = ppc_exc_initialize(
     190          PPC_INTERRUPT_DISABLE_MASK_DEFAULT,
     191          interrupt_stack_begin,
     192          interrupt_stack_size
     193        );
     194        if (sc != RTEMS_SUCCESSFUL) {
     195          BSP_panic("cannot initialize exceptions");
     196        }
     197        BSP_rtems_irq_mngt_set();
    191198
    192199        Note that BSP_rtems_irq_mngt_set() hooks the C_dispatch_irq_handler()
     
    203210        Hooking exceptions:
    204211
    205         The API defined in ppc_exc_bspsupp.h declares routines for connecting
     212        The API defined in vectors.h declares routines for connecting
    206213        a C-handler to any exception. Note that the execution environment
    207214        of the C-handler depends on the exception being synchronous or
     
    232239                - add
    233240
    234                   include_bsp_HEADERS += \
    235                     ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h   \
    236                         ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h  \
    237                         ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
     241                    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h
     242                    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
     243
     244                  to 'include_bsp_HEADERS'
    238245
    239246                - add
    240247
    241                     ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    242                     ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
     248                    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel
     249                    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel
    243250
    244251                  to 'libbsp_a_LIBADD'
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_test.c

    r0a7fb3c r8e46b093  
    3030#include <string.h>
    3131#include "vectors.h"
    32 #include "ppc_exc_bspsupp.h"
    3332
    3433
Note: See TracChangeset for help on using the changeset viewer.