forked from Imagelibrary/rtems
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcpu/powerpc/mpc55xx/include/irq.h: Move defines from 'libbsp/powerpc/mpc55xxevb/include/irq-config.h'. * libbsp/powerpc/mpc55xxevb/include/irq-config.h: Removed file. * libbsp/powerpc/mpc55xxevb/Makefile.am, libbsp/powerpc/mpc55xxevb/preinstall.am: Reflect changes above.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* include/irq-config.h: Removed file.
|
||||||
|
* Makefile.am, preinstall.am: Reflect changes above.
|
||||||
|
|
||||||
2010-04-07 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
2010-04-07 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||||
|
|
||||||
* configure.ac, startup/bspstart.c:
|
* configure.ac, startup/bspstart.c:
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ include_HEADERS += ../../shared/include/tm27.h
|
|||||||
nodist_include_HEADERS = include/bspopts.h ../../shared/tod.h \
|
nodist_include_HEADERS = include/bspopts.h ../../shared/tod.h \
|
||||||
../../shared/include/coverhd.h
|
../../shared/include/coverhd.h
|
||||||
include_bsp_HEADERS = include/mpc55xxevb.h \
|
include_bsp_HEADERS = include/mpc55xxevb.h \
|
||||||
include/irq-config.h \
|
|
||||||
include/smsc9218i.h \
|
include/smsc9218i.h \
|
||||||
../../shared/include/irq-generic.h \
|
../../shared/include/irq-generic.h \
|
||||||
../../shared/include/irq-info.h \
|
../../shared/include/irq-info.h \
|
||||||
|
|||||||
@@ -1,76 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file
|
|
||||||
*
|
|
||||||
* @ingroup bsp_interrupt
|
|
||||||
*
|
|
||||||
* @brief BSP interrupt support configuration.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2008
|
|
||||||
* Embedded Brains GmbH
|
|
||||||
* Obere Lagerstr. 30
|
|
||||||
* D-82178 Puchheim
|
|
||||||
* Germany
|
|
||||||
* rtems@embedded-brains.de
|
|
||||||
*
|
|
||||||
* The license and distribution terms for this file may be found in the file
|
|
||||||
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef LIBBSP_POWERPC_MPC55XXEVB_IRQ_CONFIG_H
|
|
||||||
#define LIBBSP_POWERPC_MPC55XXEVB_IRQ_CONFIG_H
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @addtogroup bsp_interrupt
|
|
||||||
*
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Minimum vector number.
|
|
||||||
*/
|
|
||||||
#define BSP_INTERRUPT_VECTOR_MIN 0
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Maximum vector number.
|
|
||||||
*/
|
|
||||||
#define BSP_INTERRUPT_VECTOR_MAX 328
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the index table.
|
|
||||||
*
|
|
||||||
* If you enable the index table, you have to define a size for the handler
|
|
||||||
* table (@ref BSP_INTERRUPT_HANDLER_TABLE_SIZE) and must provide an integer
|
|
||||||
* type capable to index the complete handler table (@ref
|
|
||||||
* bsp_interrupt_handler_index_type).
|
|
||||||
*/
|
|
||||||
#define BSP_INTERRUPT_USE_INDEX_TABLE
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Disables usage of the heap.
|
|
||||||
*
|
|
||||||
* If you define this, you have to define @ref BSP_INTERRUPT_USE_INDEX_TABLE as
|
|
||||||
* well.
|
|
||||||
*/
|
|
||||||
#define BSP_INTERRUPT_NO_HEAP_USAGE
|
|
||||||
|
|
||||||
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Size of the handler table.
|
|
||||||
*/
|
|
||||||
#define BSP_INTERRUPT_HANDLER_TABLE_SIZE 63
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Integer type capable to index the complete handler table.
|
|
||||||
*/
|
|
||||||
typedef uint8_t bsp_interrupt_handler_index_type;
|
|
||||||
|
|
||||||
#endif /* BSP_INTERRUPT_USE_INDEX_TABLE */
|
|
||||||
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
#endif /* LIBBSP_POWERPC_MPC55XXEVB_IRQ_CONFIG_H */
|
|
||||||
@@ -85,10 +85,6 @@ $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h: include/mpc55xxevb.h $(PROJECT_INCLUDE)/bsp
|
|||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp/irq-config.h: include/irq-config.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-config.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-config.h
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp/smsc9218i.h: include/smsc9218i.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
$(PROJECT_INCLUDE)/bsp/smsc9218i.h: include/smsc9218i.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/smsc9218i.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/smsc9218i.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/smsc9218i.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/smsc9218i.h
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* mpc55xx/include/irq.h: Move defines from
|
||||||
|
'libbsp/powerpc/mpc55xxevb/include/irq-config.h'.
|
||||||
|
|
||||||
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||||
|
|
||||||
* mpc5xx/clock/clock.c, mpc5xx/console-generic/console-generic.c,
|
* mpc5xx/clock/clock.c, mpc5xx/console-generic/console-generic.c,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2008
|
* Copyright (c) 2008, 2010
|
||||||
* Embedded Brains GmbH
|
* Embedded Brains GmbH
|
||||||
* Obere Lagerstr. 30
|
* Obere Lagerstr. 30
|
||||||
* D-82178 Puchheim
|
* D-82178 Puchheim
|
||||||
@@ -159,6 +159,27 @@ rtems_status_code mpc55xx_intc_raise_software_irq( rtems_vector_number vector);
|
|||||||
|
|
||||||
rtems_status_code mpc55xx_intc_clear_software_irq( rtems_vector_number vector);
|
rtems_status_code mpc55xx_intc_clear_software_irq( rtems_vector_number vector);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @addtogroup bsp_interrupt
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define BSP_INTERRUPT_VECTOR_MIN 0
|
||||||
|
|
||||||
|
#define BSP_INTERRUPT_VECTOR_MAX 328
|
||||||
|
|
||||||
|
#define BSP_INTERRUPT_USE_INDEX_TABLE
|
||||||
|
|
||||||
|
#define BSP_INTERRUPT_NO_HEAP_USAGE
|
||||||
|
|
||||||
|
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
|
||||||
|
#define BSP_INTERRUPT_HANDLER_TABLE_SIZE 63
|
||||||
|
typedef uint8_t bsp_interrupt_handler_index_type;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
};
|
};
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|||||||
Reference in New Issue
Block a user