Changeset f692d7e0 in rtems


Ignore:
Timestamp:
Jan 8, 2001, 6:12:27 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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.
Location:
c/src/librtems++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/librtems++/ChangeLog

    rb03f4f2 rf692d7e0  
     12001-01-08      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/rtemsInterrupt.cc: Allocated interrupt_table since since
     4        cannot be determined without CPU model information.
     5
    162000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • 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.