Changeset 026f4aa in rtems


Ignore:
Timestamp:
Jan 9, 2001, 5:05:57 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d3d5319
Parents:
16ad7ea
Message:

2001-01-09 Joel Sherrill <joel@…>

  • clock/clockdrv.c: Clean up.
  • include/bsp.h: Uncomment and fix set_vector() prototype.
Location:
c/src/lib/libbsp/mips/jmr3904
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/jmr3904/ChangeLog

    r16ad7ea r026f4aa  
     12001-01-09      Joel Sherrill <joel@OARcorp.com>
     2
     3        * clock/clockdrv.c: Clean up.
     4        * include/bsp.h: Uncomment and fix set_vector() prototype.
     5
    162001-01-03      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/mips/jmr3904/clock/clockdrv.c

    r16ad7ea r026f4aa  
    22 *  Instantiate the clock driver shell.
    33 *
    4  *  Since there is no clock source on the simulator, all we do is
    5  *  make sure it will build.
     4 *  The tx3904 simulator in gdb counts instructions.
    65 *
    76 *  $Id$
     
    109#include <rtems.h>
    1110#include <libcpu/tx3904.h>
     11#include <bsp.h>
    1212
    1313#define CLOCK_DRIVER_USE_FAST_IDLE
     
    1717#define Clock_driver_support_at_tick()
    1818
    19 /* XXX */
     19/*
     20 *  5000 clicks per tick ISR is HIGHLY arbitrary
     21 */
     22
    2023#define CLICKS 5000
    2124#define Clock_driver_support_install_isr( _new, _old ) \
    2225  do { \
    2326    unsigned32 _clicks = CLICKS; \
    24     _old = (rtems_isr_entry) set_vector( _new, CLOCK_VECTOR, 1 ); \
     27    _old = set_vector( _new, CLOCK_VECTOR, 1 ); \
    2528    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_CCDR, 0x3 ); \
    2629    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_CPRA, _clicks ); \
  • c/src/lib/libbsp/mips/jmr3904/include/bsp.h

    r16ad7ea r026f4aa  
    7878void bsp_cleanup( void );
    7979
    80 /* i960_isr_entry set_vector( rtems_isr_entry, unsigned int, unsigned int ); */
     80rtems_isr_entry set_vector( rtems_isr_entry, unsigned int, unsigned int );
    8181
    8282#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.