So you are saying that you are hacking correct code, to fix a bug in a hack, cause it's easier?


Dmitry Gorbachev wrote:
That function is not supposed to be called by old bootloader directly.
    

It is called indirectly through KiRosPrepareForSystemStartup function,
after it applies a hack (ke/freeldr.c:1272). This new hack is to fix
that old hack. (Ugh!)

  
Why is that needed?
    

Otherwise, the double fault and nmi descriptors become mutilated. When
these interrupts happen, it causes a (virtual or real) machine to
crash / reboot. Better to be able to examine situation from kdbg.

  
And why in this function?
    

Simpler to do it here.

_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev