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