Q about PowerPC new exception processing.

Sergei Organov osv at javad.ru
Thu Sep 28 08:39:48 UTC 2000


Hello,

Here is text from 'c/src/lib/libcpu/powerpc/new_exception_processing/cpu.h'
(latest snapshot):

<BEGIN>
/*
 *  Does RTEMS manage a dedicated interrupt stack in software?
 *
 ...
 *  If this is TRUE, CPU_ALLOCATE_INTERRUPT_STACK should also be TRUE.
 ...
 */

#define CPU_HAS_SOFTWARE_INTERRUPT_STACK TRUE
...

#define CPU_ALLOCATE_INTERRUPT_STACK FALSE
<END>

Actual definitions obviously come in contradiction with comments. Guess this
is because usual interrupt stack allocation method is bypassed in the new
exception processing code.

Strictly speaking, changing comments in the header means changing interface
between RTEMS core and BSPs, and thus corresponding headers for other BSPs (as
well as documentation) should also be changed :-( So the question arise:

Do we need to switch back to usual method of stack allocation or fix comments
in the header? 

Thanks in advance.

BR,
Sergei Organov.




More information about the users mailing list