source: rtems/c/src/lib/libcpu/mips/tx39/vectorisrs/maxvectors.c @ 9269ef8

4.104.114.84.95
Last change on this file since 9269ef8 was 7c05d28, checked in by Joel Sherrill <joel.sherrill@…>, on 05/24/01 at 19:54:22

2000-05-24 Joel Sherrill <joel@…>

  • mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c, r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c, tx39/include/tx3904.h: All exceptions were given low numbers and thus can be now be installed and processed in a uniform manner just like interrupts. Variances between various MIPS ISA levels are not accounted for at this time.
  • mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c, r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c, tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c, shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the shared maxvectors.c into a variety of CPU model specific versions to simplify the build process and reduce depdencies. Deleted shared/interrupts/maxvectors.c and created various CPU model versions.
  • Property mode set to 100644
File size: 791 bytes
Line 
1/*
2 *  This file contains the maximum number of vectors.  This can not
3 *  be determined without knowing the RTEMS CPU model.
4 *
5 *  COPYRIGHT (c) 1989-2000.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15/*
16 *  Reserve first 32 for exceptions.
17 */
18
19/*
20 *  The Toshiba TX3904 attaches 4 of the eight interrupt bits to an
21 *  on-CPU interrupt controller so that these four bits map to 16
22 *  unique interrupts.  So you have: 2 software interrupts, an NMI,
23 *  and 16 others.
24 */
25
26#include <rtems.h>
27#include <libcpu/tx3904.h>
28
29unsigned int mips_interrupt_number_of_vectors = TX3904_MAXIMUM_VECTORS;
30
Note: See TracBrowser for help on using the repository browser.