Alex Ionescu wrote:
Well, you just removed the one thing ReactOS did different from NT and that I thought was really revolutionary and innovative, because it saves on compile time
revolutionary, innovative and stupid. You get "PAGE" sections in ntdll for no good reason, really stupid function calls instead of conditional compilation, and gross hacks like locks being declared large enough to fit both a FAST_MUTEX and a RTL_CRITICAL_SECTION. A less "revolutionary" and "innovative" solution that I'd endorse would be to split RTL into several libraries, one of which containing all code that's independent from the mode. And you'd _still_ have to compile a separate version for host tools