Changeset e8512eb in rtems


Ignore:
Timestamp:
Jun 5, 1995, 10:59:47 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6b782ab
Parents:
7979e35
Message:

incorporate Tony's patches:

+ c/src/lib/libc/support/generic/malloc.c did not initialize the

sbrk amount

+ _Thread_Handler in c/src/exec/rtems/thread.c left a window

during the begin extension which could result in a context switch

fixed places which did not correctly distinguish between an
CPU_isr and a CPU_isr_entry.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/malloc.c

    r7979e35 re8512eb  
    6363
    6464  starting_address = start;
     65  RTEMS_Malloc_Sbrk_amount = sbrk_amount;
    6566
    6667  if (!starting_address) {
  • c/src/lib/libbsp/i960/cvme961/startup/setvec.c

    r7979e35 re8512eb  
    5858unsigned int Xint_2_Group_Map[8] = { 0, 1, 2, 5, 7, 3, 6, 4 };
    5959
    60 i960_isr set_vector(                       /* returns old vector */
     60i960_isr_entry set_vector(                 /* returns old vector */
    6161  rtems_isr_entry func,                    /* isr routine */
    6262  unsigned int    xint,                    /* XINT number */
     
    6464)
    6565{
    66   i960_isr        *intr_tbl, *cached_intr_tbl;
    67   i960_isr         saved_intr;
     66  i960_isr_entry  *intr_tbl, *cached_intr_tbl;
     67  i960_isr_entry   saved_intr;
    6868  unsigned int     vector, group, nibble;
    6969  unsigned int    *imap;
     
    7272    exit( 0x80 );
    7373
    74   cached_intr_tbl = (i960_isr *) 0;
    75   intr_tbl        = (i960_isr *) Prcb->intr_tbl;
     74  cached_intr_tbl = (i960_isr_entry *) 0;
     75  intr_tbl        = (i960_isr_entry *) Prcb->intr_tbl;
    7676  group           = Xint_2_Group_Map[xint];  /* remap XINT to group */
    7777  vector          = (group << 4) + 2;        /* direct vector num   */
     
    8080    rtems_interrupt_catch( func, vector, (rtems_isr_entry *) &saved_intr );
    8181  else {
    82     saved_intr    = (i960_isr) intr_tbl[ vector ];
    83                                              /* return old vector   */
    84     intr_tbl[ vector + 1 ]   =               /* normal vector table */
    85     cached_intr_tbl[ group ] = (i960_isr) func;    /* cached vector */
     82    saved_intr    = (i960_isr_entry) intr_tbl[ vector ];
     83                                                   /* return old vector   */
     84    intr_tbl[ vector + 1 ]   =                     /* normal vector table */
     85    cached_intr_tbl[ group ] = (i960_isr_entry) func;    /* cached vector */
    8686  }
    8787
  • c/src/lib/libc/malloc.c

    r7979e35 re8512eb  
    6363
    6464  starting_address = start;
     65  RTEMS_Malloc_Sbrk_amount = sbrk_amount;
    6566
    6667  if (!starting_address) {
  • cpukit/libcsupport/src/malloc.c

    r7979e35 re8512eb  
    6363
    6464  starting_address = start;
     65  RTEMS_Malloc_Sbrk_amount = sbrk_amount;
    6566
    6667  if (!starting_address) {
Note: See TracChangeset for help on using the changeset viewer.