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.