Changeset b4d0d18e in rtems for c/src/lib/libcpu/mips/clock


Ignore:
Timestamp:
Dec 13, 2000, 5:52:53 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0ef748fb
Parents:
2a350da
Message:

2000-12-13 Joel Sherrill <joel@…>

  • shared/.cvsignore, shared/Makefile.am, shared/cache/.cvsignore, shared/cache/Makefile.am, shared/cache/cache.c, shared/cache/cache_.h, shared/interrupts/.cvsignore, shared/interrupts/Makefile.am, shared/interrupts/installisrentries.c, shared/interrupts/isr_entries.S, shared/interrupts/maxvectors.c, tx39/.cvsignore, tx39/Makefile.am, tx39/include/.cvsignore, tx39/include/Makefile.am, tx39/include/tx3904.h: New file. Moved some pieces of interrupt processing from score/cpu to libcpu/mips since many interrupt servicing characteristics are CPU model dependent. This patch addresses the number of interrupt sources and where the ISR prologues are located. The only way to currently install the ISR prologues requires that the prologues be installed into RAM.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/mips/clock/ckinit.c

    r2a350da rb4d0d18e  
    169169     rtems_configuration_get_microseconds_per_tick() * CLOCKS_PER_MICROSECOND;
    170170  mips_set_timer( mips_timer_rate );
    171   enable_int(CLOCK_VECTOR_MASK);
     171  mips_enable_in_interrupt_mask(CLOCK_VECTOR_MASK);
    172172
    173173  /*
     
    185185{
    186186  /* mips: turn off the timer interrupts */
    187   disable_int(~CLOCK_VECTOR_MASK);
     187  mips_disable_in_interrupt_mask(CLOCK_VECTOR_MASK);
    188188}
    189189
Note: See TracChangeset for help on using the changeset viewer.