Changeset 780428f in rtems


Ignore:
Timestamp:
Jul 10, 2008, 6:19:03 AM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.9, master
Children:
31282767
Parents:
214cbd9
Message:

Extension of the RTEMS Interrupt Manager
(shared handler and handler with a handle).

Files:
4 added
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r214cbd9 r780428f  
     12008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: SD Card driver
     4        via SPI.
     5
    162008-06-29      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/ChangeLog

    r214cbd9 r780428f  
     12008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * shared/include/irq-config.h, shared/include/irq-generic.h,
     4        shared/src/irq-generic.c, shared/src/irq-legacy.c: Generic BSP
     5        interrupt handler support.
     6
    172008-01-16      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/m68k/acinclude.m4

    r214cbd9 r780428f  
    1717  mcf5206elite )
    1818    AC_CONFIG_SUBDIRS([mcf5206elite]);;
    19   mcf52235 )
    20     AC_CONFIG_SUBDIRS([mcf52235]);;
    2119  mcf5235 )
    2220    AC_CONFIG_SUBDIRS([mcf5235]);;
    23   mcf5329 )
    24     AC_CONFIG_SUBDIRS([mcf5329]);;
    2521  mrm332 )
    2622    AC_CONFIG_SUBDIRS([mrm332]);;
  • cpukit/ChangeLog

    r214cbd9 r780428f  
     12008-07-09      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * cpukit/include/rtems/status-checks.h: Macros for status code and
     4        return value checks.
     5
     62008-07-03      Sebastian Huber <sebastian.huber@embedded-brains.de>
     7
     8        * cpukit/libmisc/shell/shell.c: Restore terminal settings on exit.
     9
     102008-07-03      Sebastian Huber <sebastian.huber@embedded-brains.de>
     11
     12        * cpukit/libfs/src/dosfs/msdos_dir.c,
     13        cpukit/libfs/src/dosfs/msdos_file.c: Added S_IRWXU, S_IRWXG and S_IRWXO
     14        to file mode.
     15
     162008-07-03      Sebastian Huber <sebastian.huber@embedded-brains.de>
     17
     18        * cpukit/libi2c/libi2c.h, cpukit/libi2c/libi2c.c: Modified error
     19        messages.  Driver operations table is now constant.  New entry in the
     20        rtems_libi2c_tfr_mode_t structure: idle_char. This character will be
     21        continuously transmitted in read only functions.
     22
    1232008-07-03      Chris Johns <chrisj@rtems.org>
    224
  • cpukit/libcsupport/include/rtems/libcsupport.h

    r214cbd9 r780428f  
    2424extern "C" {
    2525#endif
     26
     27#include <stdint.h>
    2628
    2729#include <sys/types.h>
     
    7274}
    7375
     76/*
     77 * FIXME: Nearly every BSP declares this function in the BSP startup file
     78 * separately and uses the implementation in c/src/lib/libbsp/shared/bsplibc.c.
     79 * Why differ the parameter types from RTEMS_Malloc_Initialize()?
     80 */
     81void bsp_libc_init( void *heap_start, uint32_t heap_size, int use_sbrk);
     82
    7483#ifdef __cplusplus
    7584}
  • cpukit/rtems/include/rtems/rtems/intr.h

    r214cbd9 r780428f  
    11/**
    2  * @file rtems/rtems/intr.h
     2 *  @file rtems/rtems/intr.h
    33 *
    4  *  This include file contains all the constants and structures associated
    5  *  with the Interrupt Manager.
     4 *  @brief Header file for the Interrupt Manager.
     5 *
     6 *  This include file contains all the constants and structures associated with
     7 *  the Interrupt Manager.
    68 */
    79
     
    3335
    3436/**
    35  *  Interrupt level type
     37 *  @brief Interrupt level type.
    3638 */
    3739typedef ISR_Level rtems_interrupt_level;
    3840
    3941/**
    40  *  The following type defines the control block used to manage
    41  *  the vectors.
     42 *  @brief Control block type used to manage the vectors.
    4243 */
    4344typedef ISR_Vector_number rtems_vector_number;
    4445
    4546/**
    46  *  Return type for ISR Handler
     47 *  @brief Return type for interrupt handler.
    4748 */
    4849typedef void rtems_isr;
    4950
    5051/**
    51  *  Pointer to an ISR Handler
     52 *  @brief Interrupt handler type.
     53 *
     54 *  @see rtems_interrupt_catch()
    5255 */
    5356typedef rtems_isr ( *rtems_isr_entry )(
     
    5659
    5760/**
    58  *  @brief Interrupt_Manager_initialization
    59  *
    60  *  This routine initializes the interrupt manager.
    61  *
     61 *  @brief Initializes the Interrupt Manager.
    6262 */
    6363void _Interrupt_Manager_initialization( void );
    6464
    6565/**
    66  *  @brief rtems_interrupt_catch
    67  *
    68  *  This routine implements the rtems_interrupt_catch directive.  This
    69  *  directive installs new_isr_handler as the RTEMS interrupt service
    70  *  routine for vector.  The previous RTEMS interrupt service
    71  *  routine is returned in old_isr_handler.
     66 *  @brief Implementation of the rtems_interrupt_catch directive.
     67 * 
     68 *  This directive installs @a new_isr_handler as the RTEMS interrupt service
     69 *  routine for the interrupt vector with number @a vector.  The previous RTEMS
     70 *  interrupt service routine is returned in @a old_isr_handler.
    7271 */
    7372rtems_status_code rtems_interrupt_catch(
     
    7877
    7978/**
    80  *  @brief rtems_interrupt_disable
    81  *
    82  *  This routine disables all maskable interrupts and returns the
    83  *  previous level in _isr_cookie.
     79 *  @brief Disables all maskable interrupts and returns the previous level in
     80 *  @a _isr_cookie.
     81 * 
     82 *  @note The interrupt level shall be of type @ref rtems_interrupt_level.
    8483 */
    8584#define rtems_interrupt_disable( _isr_cookie ) \
     
    8786
    8887/**
    89  *  @brief rtems_interrupt_enable
    90  *
    91  *  This routine enables maskable interrupts to the level indicated
     88 *  @brief Enables maskable interrupts to the level indicated by @a
    9289 *  _isr_cookie.
     90 * 
     91 *  @note The interrupt level shall be of type @ref rtems_interrupt_level.
    9392 */
    9493#define rtems_interrupt_enable( _isr_cookie ) \
     
    9695
    9796/**
    98  *  @brief rtems_interrupt_flash
    99  *
    100  *  This routine temporarily enables maskable interrupts to the
    101  *  level in _isr_cookie before redisabling them.
     97 *  @brief Temporarily enables maskable interrupts to the level in @a
     98 *  _isr_cookie before redisabling them.
     99 * 
     100 *  @note The interrupt level shall be of type @ref rtems_interrupt_level.
    102101 */
    103102#define rtems_interrupt_flash( _isr_cookie ) \
     
    105104
    106105/**
    107  *  @brief rtems_interrupt_is_in_progress
    108  *
    109  *  This function returns TRUE if the processor is currently servicing
    110  *  an interrupt and FALSE otherwise.   A return value of TRUE indicates
    111  *  that the caller is an interrupt service routine, NOT a thread.  The
    112  *  directives available to an interrupt service routine are restricted.
     106 *  @brief Returns TRUE if the processor is currently servicing an interrupt
     107 *  and FALSE otherwise.
     108 * 
     109 *  A return value of TRUE indicates that the caller is an interrupt service
     110 *  routine and @b not a thread.  The directives available to an interrupt
     111 *  service routine are restricted.
    113112 */
    114113#define rtems_interrupt_is_in_progress() \
     
    116115
    117116/**
    118  *  @brief rtems_interrupt_cause
    119  *
    120  *  This routine generates an interrupt.
    121  *
    122  *  NOTE:  No implementation.
     117 *  @brief This routine generates an interrupt.
     118 * 
     119 *  @note No implementation.
    123120 */
    124121#define rtems_interrupt_cause( _interrupt_to_cause )
    125122
    126123/**
    127  *  @brief rtems_interrupt_clear
    128  *
    129  *  This routine clears the specified interrupt.
    130  *
    131  *  NOTE:  No implementation.
     124 *  @brief This routine clears the specified interrupt.
     125 * 
     126 *  @note No implementation.
    132127 */
    133128#define rtems_interrupt_clear( _interrupt_to_clear )
Note: See TracChangeset for help on using the changeset viewer.