Ignore:
Timestamp:
Jan 8, 2001, 6:12:27 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f8b891d
Parents:
b03f4f2
Message:

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

  • src/rtemsInterrupt.cc: Allocated interrupt_table since since cannot be determined without CPU model information.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/librtems++/src/rtemsInterrupt.cc

    rb03f4f2 rf692d7e0  
    2828*/
    2929
    30 static rtemsInterrupt *interrupt_table[CPU_INTERRUPT_NUMBER_OF_VECTORS];
     30static rtemsInterrupt **interrupt_table;
    3131
    3232// has the table been initialised
     
    3636   rtemsInterrupt
    3737*/
     38
     39#include <stdlib.h> /* for malloc */
    3840
    3941rtemsInterrupt::rtemsInterrupt()
     
    4547  if (!initialised)
    4648  {
     49    interrupt_table = (rtemsInterrupt **)
     50        malloc(sizeof(rtemsInterrupt *) * CPU_INTERRUPT_NUMBER_OF_VECTORS);
    4751    for (rtems_vector_number vec = 0;
    4852         vec < CPU_INTERRUPT_NUMBER_OF_VECTORS;
Note: See TracChangeset for help on using the changeset viewer.