Timestamp:
02/02/12 17:22:19 (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10
Children:
9591970
Parents:
954099e
Message:

LEON3: CPU index intialization moved to bspstart.c

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.