While compiling, it stops with this error.
Linking C executable ntoskrnl.exe
Creating library ntoskrnl.lib and object ntoskrnl.exp
section.c.obj : error LNK2001: unresolved external symbol MmSystemPagePtes
ntoskrnl.exe : fatal error LNK1120: 1 unresolved externals
It can be fixed by adding this in the header of file:
But i don't know if it is true.