[ros-dev] [ros-diffs] [dgorbachev] 42305: Add a hack in KiSystemStartupReal function until Better Times.

Dmitry Gorbachev d.g.gorbachev at gmail.com
Fri Jul 31 18:29:48 CEST 2009


> 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.



More information about the Ros-dev mailing list