Changeset 9530716c in rtems


Ignore:
Timestamp:
Feb 2, 2012, 2:46:23 PM (8 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.10
Children:
3c5c7dd
Parents:
0ae9ee1
git-author:
Daniel Hellstrom <daniel@…> (02/02/12 14:46:23)
git-committer:
Joel Sherrill <joel.sherrill@…> (02/02/12 16:09:46)
Message:

LEON3BSP MP: may wake one more CPU than expected

The SHM code always wakes one CPU more that configured, however
this has never been a problem since RTEMS will be running on all CPUs
or only two cores were available.

PR 2006/bsps

Signed-off-by: Daniel Hellstrom <daniel@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/shmsupp/getcfg.c

    r0ae9ee1 r9530716c  
    115115    tmp = 0;
    116116    for (i = 1;
    117          i < (Configuration.User_multiprocessing_table)->maximum_nodes+1; i++)
     117         i < (Configuration.User_multiprocessing_table)->maximum_nodes; i++)
    118118      tmp |= (1 << i);
    119119    LEON3_IrqCtrl_Regs->mpstat = tmp;
Note: See TracChangeset for help on using the changeset viewer.