PRB: Random Exceptions or System Lockup on PowerPC Platform ISR Under Heavy Interrupt Load (297347)
The information in this article applies to:
- Microsoft Windows CE Platform Builder 2.11
- Microsoft Windows CE Platform Builder 2.12
- Microsoft Windows CE Platform Builder 3.0
This article was previously published under Q297347 SYMPTOMS
When you are using a PowerPC OEM adaptation layer (OAL) developed with Platform Builder 3.0, random exceptions and system lockups may occur centering around the OAL Interrupt Service Routine (ISR).
CAUSE
In the PowerPC ISR, it is possible for unguarded atomic operations to be corrupted. The result is a probable incidence of random exceptions and system lockups.
RESOLUTION
To resolve this problem, you can use the "Load Word and Reserve indeXed" (lwarx) and "STore Word Conditional indeXed" (stwcx) conditional load/store instructions with the proper looping logic to guarantee data integrity against reentrancy.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 8/18/2005 |
---|
Keywords: | kbnofix kbprb KB297347 |
---|
|