Hartmut Birr wrote:
Sorry for the bad news, but Ros crashs again.
Sigh...it would've been so much easier if our kernel wasn't so horribly screwed and ke/ps wasn't totally mixed up...
ntoskrnl.exe:72e48 ntoskrnl/ps/create.c:411 <800A58E1> ntoskrnl/ps/thread.c:769
Now, this _really_ surprises me. It's almost impossible then it didn't crash before my patches. It crashes in PsInitializeThread() when calling ExGetPreviousMode() trying to initialize the reaper thread, which obviously succeeded earlier when creating the idle thread in PsPrepareForApplicationProcessorInit(). To my understanding the PRCB's CurrentThread should be the idle thread at that point. I'm really starting to become desperate :/
To my understanding, the idle process and idle threads should be one of the first things that should be set up, I believe it should be sufficient to have it in the microkernel only, I don't see a requirement that the executive would be needed for them. But that's not possible because we mixed up the kernel with the executive, it'd be so much easier if it wasn't.
If you want i'll revert all my changes and dump them, our kernel appears not to be mature enough :/ Unfortunately I don't know what else I can do to get it work, everything is just so messed up. I'd appreciate any support.
Best Regards, Thomas