I've already said too much. I just want to emphasize that the whole thing is quite subtle, and it's hard to make sense of it given only public information. What you should focus on is the documented ABI available on each OS and platform since that's the real place where what we do affects what you do.
For starters, it's ntoskrnl.exe. Dig out the original Windows NT stuff from the early 90s and you can infer Dave Cutler and team's original vision. The fact that Microsoft made hundreds of billions of dollars off it, layering all sorts of legacy chaos atop it, obscures the jewel at the core.