Changeset 2ee1495 in rtems


Ignore:
Timestamp:
Apr 22, 2004, 1:27:01 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8cc4a27
Parents:
52cfc7de
Message:

2004-04-22 Ralf Corsepius <ralf_corsepius@…>

  • include/bsp.h: Split out tmtest27 support.
  • include/tm27.h: New.
Location:
c/src/lib/libbsp
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/c4x/c4xsim/ChangeLog

    r52cfc7de r2ee1495  
     12004-04-22      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * include/bsp.h: Split out tmtest27 support.
     4        * include/tm27.h: New.
     5
    162004-04-21      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/lib/libbsp/c4x/c4xsim/include/bsp.h

    r52cfc7de r2ee1495  
    3030#include <rtems/console.h>
    3131#include <rtems/iosupp.h>
    32 
    33 /*
    34  *  Stuff for Time Test 27
    35  */
    36 
    37 #include <rtems/c4x/c4xio.h>
    38 #define MUST_WAIT_FOR_INTERRUPT 0
    39 
    40 /* XXX */
    41 #define Install_tm27_vector( _handler ) \
    42   set_vector( (_handler), 0x20, 1 )
    43 
    44 #define Cause_tm27_intr()  \
    45   do { \
    46      __asm__ volatile ( "trapu 0" ); \
    47   } while (0)
    48 
    49 #define Clear_tm27_intr() \
    50   do { \
    51      ; \
    52   } while (0)
    53 
    54 #define Lower_tm27_intr() \
    55   do { \
    56     c4x_global_interrupts_enable(); \
    57   } while (0)
    5832
    5933/* Constants */
  • c/src/lib/libbsp/h8300/h8sim/ChangeLog

    r52cfc7de r2ee1495  
     12004-04-22      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * include/bsp.h: Split out tmtest27 support.
     4        * include/tm27.h: New.
     5
    162004-04-21      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/lib/libbsp/h8300/h8sim/include/bsp.h

    r52cfc7de r2ee1495  
    2727#include <rtems/console.h>
    2828#include <rtems/clockdrv.h>
    29 
    30 /*
    31  *  Define the interrupt mechanism for Time Test 27
    32  *
    33  *  NOTE: Following are for i960CA and are board independent
    34  *
    35  */
    36 
    37 #define MUST_WAIT_FOR_INTERRUPT 0
    38 
    39 #define Install_tm27_vector( handler ) /* set_vector( (handler), 6, 1 ) */
    40 
    41 #define Cause_tm27_intr()  /* i960_cause_intr( 0x62 ) */
    42 
    43 #define Clear_tm27_intr()  /* i960_clear_intr( 6 ) */
    44 
    45 #define Lower_tm27_intr()
    4629
    4730/*
Note: See TracChangeset for help on using the changeset viewer.