Changeset 801b5d8 in rtems for c/src/lib/libbsp/powerpc/virtex4

Timestamp:
02/17/14 08:23:59 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
92f50c3
Parents:
c2934b96
git-author:
Sebastian Huber <sebastian.huber@…> (02/17/14 08:23:59)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/19/14 08:59:38)
Message:

powerpc: Change interrupt disable implemetation

Instead of SPRG0 (= special purpose register 272) use the new global
symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask.
The benefit is that it is now possible to disable interrupts without
further run-time initialization in boot_card().

At least on Freescale e500 cores this leads also to a faster execution
since the mfmsr and mfspr instruction require four cycles to complete.
The instructions to load the mask value can execute while the mfmsr is
in progress.

(No files)

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