Changeset 5e92a40a in rtems for c

Timestamp:
05/21/14 07:37:16 (10 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, 5, master
Children:
74f5eaf
Parents:
9bd7b3b1
git-author:
Daniel Hellstrom <daniel@…> (05/21/14 07:37:16)
git-committer:
Daniel Hellstrom <daniel@…> (10/06/14 12:44:44)
Message:

LEON3: use CPU_Fatal_halt for halt

By removing the bsp_reset() mechanism and instead relying on the
CPU_Fatal_halt() routine SMP and single-core can halt by updating
the _Internal_errors_What_happened structure and set the state to
SYSTEM_STATE_TERMINATED (the generic way). This will be better
for test scripts and debugger that can generically look into why
the OS stopped.

For SMP systems, only the fatal-reporting CPU waits until all other
CPUs are powered down (with a time out of one clock tick). The
reason why a fatal stop happend may be because CPU0 was soft-locked
up so we can never trust that CPU0 should do the halt for us.

(No files)

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