Changeset f5674938 in rtems for c/src/libchip/shmdr/init.c


Ignore:
Timestamp:
Apr 22, 1996, 4:49:25 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
34f3d17
Parents:
8faca06
Message:

Fixed so now supports more than 16 nodes. Tested for up to 24 nodes
by Tony Bennett. Information table is now malloc'ed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/shmdr/init.c

    r8faca06 rf5674938  
    2525
    2626#include <string.h>    /* memset() */
     27#include <stdlib.h>    /* malloc() */
     28#include <assert.h>
    2729
    2830/*
     
    5456  Shm_Get_configuration( Shm_Local_node, &Shm_Configuration );
    5557
     58  Shm_Interrupt_table = (Shm_Interrupt_information *) malloc(
     59    sizeof(Shm_Interrupt_information) * (Shm_Maximum_nodes + 1)
     60  );
     61
     62  assert( Shm_Interrupt_table );
     63
     64
    5665  Shm_Receive_message_count = 0;
    5766  Shm_Null_message_count    = 0;
Note: See TracChangeset for help on using the changeset viewer.