Changeset 2a68f53 in rtems


Ignore:
Timestamp:
Feb 2, 2012, 2:46:23 PM (8 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
6d79be5
Parents:
1052242
git-author:
Daniel Hellstrom <daniel@…> (02/02/12 14:46:23)
git-committer:
Joel Sherrill <joel.sherrill@…> (02/02/12 16:15:50)
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

    r1052242 r2a68f53  
    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.