Ignore:
Timestamp:
Apr 22, 2004, 3:57:29 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
4133bfe
Parents:
7f3d5557
Message:

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

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/genmongoosev/include/bsp.h

    r7f3d5557 r25964be6  
    4949extern void assertSoftwareInterrupt(uint32_t);
    5050
    51 /*
    52  *  Define the interrupt mechanism for Time Test 27
    53  *
    54  *  NOTE: Following are for XXX and are board independent
    55  *
    56  */
    57 
    5851#define CLOCK_VECTOR    MONGOOSEV_IRQ_TIMER1
    59 
    60 #define MUST_WAIT_FOR_INTERRUPT 1
    61 
    62 #if 1
    63 
    64 #define Install_tm27_vector( handler ) \
    65     (void) set_vector( handler, MONGOOSEV_IRQ_SOFTWARE_1, 1 );
    66 
    67 #define Cause_tm27_intr()   assertSoftwareInterrupt(0);
    68 
    69 #define Clear_tm27_intr()
    70 #define Lower_tm27_intr()
    71 
    72 #else
    73 
    74 #define Install_tm27_vector( handler ) \
    75     (void) set_vector( handler, MONGOOSEV_IRQ_TIMER1, 1 );
    76 
    77 #define Cause_tm27_intr() \
    78   do { \
    79     ; \
    80   } while(0)
    81 
    82 #define Clear_tm27_intr()
    83 #define Lower_tm27_intr()
    84 
    85 #endif
    8652
    8753/* Constants */
Note: See TracChangeset for help on using the changeset viewer.