mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-29 07:50:18 +00:00
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.
This commit is contained in:
@@ -27,9 +27,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <rtems/score/apimutex.h>
|
||||
#include <rtems/score/processormask.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <rtems/malloc.h>
|
||||
|
||||
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
|
||||
@@ -155,20 +153,6 @@ static void bsp_interrupt_free_handler_entry(bsp_interrupt_handler_entry *e)
|
||||
#endif
|
||||
}
|
||||
|
||||
void bsp_interrupt_lock(void)
|
||||
{
|
||||
if (_System_state_Is_up(_System_state_Get())) {
|
||||
_RTEMS_Lock_allocator();
|
||||
}
|
||||
}
|
||||
|
||||
void bsp_interrupt_unlock(void)
|
||||
{
|
||||
if (_System_state_Is_up(_System_state_Get())) {
|
||||
_RTEMS_Unlock_allocator();
|
||||
}
|
||||
}
|
||||
|
||||
void bsp_interrupt_initialize(void)
|
||||
{
|
||||
rtems_status_code sc = RTEMS_SUCCESSFUL;
|
||||
|
||||
Reference in New Issue
Block a user