Timestamp:
02/02/12 14:46:26 (12 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, 5, master
Children:
735b0ca
Parents:
6d79be5
git-author:
Daniel Hellstrom <daniel@…> (02/02/12 14:46:26)
git-committer:
Joel Sherrill <joel.sherrill@…> (02/02/12 16:55:06)
Message:

LEON3: CPU index intialization moved to bspstart.c

PR 2009/bsps

All LEON3/4 systems have a CPU-id, if on a single-CPU system the
ID is always zero. On a multicore system it ranges from 0 to 15.

The CPU index should always by updated even in a non-MP RTEMS OS
since the CPU running RTEMS may not always be CPU0. For example
when RTEMS runs on CPU1 and Linux on CPU0 in a mixed ASMP system.

The old code executed within the IRQ controller initialization code
makes no sense since the ASR register is a CPU register, it has
nothing to do with AMBA initialization either.

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.