source: rtems/c/src/lib/libcpu/mips/mongoosev/vectorisrs/maxvectors.c @ 948a069

Last change on this file since 948a069 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: 929 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 Synova Mongoose-V attached one of the eight interrupt bits
21 *  to a Peripheral Function Interrupt Cause Register on-CPU.
22 *  This results in: 2 software interrupts, 5 interrupts
23 *  through the IP bits, and 32 more from the PFICR.  Some of
24 *  these are reserved but for simplicity in processing, we
25 *  reserve slots for those bits anyway.
26 */
27
28#include <rtems.h>
29#include <libcpu/mongoose-v.h>
30
31unsigned int mips_interrupt_number_of_vectors = MONGOOSEV_MAXIMUM_VECTORS;
32
33
Note: See TracBrowser for help on using the repository browser.