Run the Command Prompt in admin mode and type in
sfc /checknow.
This will detect whether your files are really corrupt or not.
ntoskrnl.exe is the Kernel shell of the Operating System, And since it's highlited in red, The operating system is Indicating that the problem was with that specific file.
This is how "Irrelevant" i can get
It doesn't have to be corrupt in order for it to cause the system to go into a stop error.
Something on the ring that can control ntoskrnl.exe can issue it a weird instruction that crashes it, which will cause a stop error.