Changeset 32ccc01 in rtems


Ignore:
Timestamp:
Aug 3, 2018, 12:03:39 PM (16 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d56e68b
Parents:
42f9963d
git-author:
Sebastian Huber <sebastian.huber@…> (08/03/18 12:03:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/03/18 12:14:19)
Message:

bsps: Fix the generic IRQ support

The genmcf548x partly uses is own implementation of the interrupt
extension API for libbsd support.

This patch is a part of the BSP source reorganization.

Update #3285.

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • bsps/shared/irq-sources.am

    r42f9963d r32ccc01  
    22librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-info.c
    33librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-legacy.c
     4librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-lock.c
    45librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-server.c
    56librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-shell.c
  • bsps/shared/irq/irq-generic.c

    r42f9963d r32ccc01  
    2828#include <stdlib.h>
    2929
    30 #include <rtems/score/apimutex.h>
    3130#include <rtems/score/processormask.h>
    32 #include <rtems/score/sysstate.h>
    3331#include <rtems/malloc.h>
    3432
     
    154152    free(e);
    155153  #endif
    156 }
    157 
    158 void bsp_interrupt_lock(void)
    159 {
    160   if (_System_state_Is_up(_System_state_Get())) {
    161     _RTEMS_Lock_allocator();
    162   }
    163 }
    164 
    165 void bsp_interrupt_unlock(void)
    166 {
    167   if (_System_state_Is_up(_System_state_Get())) {
    168     _RTEMS_Unlock_allocator();
    169   }
    170154}
    171155
  • c/src/lib/libbsp/m68k/genmcf548x/Makefile.am

    r42f9963d r32ccc01  
    4040# IRQ
    4141librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
     42librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-info.c
     43librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-legacy.c
     44librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-lock.c
     45librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-server.c
     46librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-shell.c
    4247librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/irq/irq.c
    4348librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/irq/intc-icr-init-values.c
     
    5661
    5762include $(top_srcdir)/../../../../automake/local.am
    58 include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
    5963include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
    6064include $(srcdir)/../../../../../../bsps/m68k/genmcf548x/headers.am
Note: See TracChangeset for help on using the changeset viewer.