[ros-dev] [ros-diffs] [sir_richard] 45152: [FREELDR]: Jump to a standard 1-parameter STDCALL kernel entrypoint instead of a FASTCALL double-parameter entrypoint. [NTOS]: Make KiSystemStartup the real C entrypoint of the kernel, and move the "Am I being booted by FreeLDR" logic inside it -- it will then call KiRosPrepareForSystemStartup as earlier. [NTOS]: Move the Double Fault and Boot Stack declaration in C code, with the proper alignment attribute. [NTOS]: Although the concern that KiSystemStartup cannot be 100% C since it modifies ESP is real (Thomas' original fix of Alex's code), we don't need that much of it in assembly. Instead, write a simple trampoline (KiSwitchToBootStack) inline which switches stacks and jumps to a second-stage C function. [NTOS]: Completely remove boot.S as it isn't needed anymore, ReactOS startup is back to being (nearly) 100% C.

niski niski_szkielet at interia.pl
Wed Jan 20 14:44:46 CET 2010


Hi Sir Richard,

just FYI, this rev introduced freeldr crash (happens after loading 
initial drivers): http://bjauy.com/images/45155-freeloader.png

Best regards,
Maciej

----------------------------------------------------------------------
Rezerwując wczesniej kupisz bilety lotnicze taniej!
Sprawdz >>> http://link.interia.pl/f256c




More information about the Ros-dev mailing list