[ros-dev] KeBugCheck

Mike Nordell tamlin at algonet.se
Sun Apr 10 02:40:11 CEST 2005


Hartmut Birr wrote:

> I get weird crashs if I set OARCH to pentium4. Looking to te PAGED_CODE
> macro in ExMapHandleToPointer:

I suggest changing the macro to something like:

#define PAGED_CODE() \
{ const KIRQL irql = KeGetKurrentIrql(); /* use 'irql' for the debug print
*/ }

If not, it's simply impossible to get correct and intended functionality,
should preemtion occur.

/Mike



More information about the Ros-dev mailing list