added kernel string to linux constants file; changed automagic methods so that they reconstruct the kernel object within the method for consistancy with other methods

This commit is contained in:
Matt Tressler
2020-07-30 23:24:23 +01:00
committed by ikelos
parent b9f5450ac3
commit ddec0d482d
3 changed files with 8 additions and 4 deletions
@@ -6,6 +6,8 @@
Linux-specific values that aren't found in debug symbols
"""
KERNEL_NAME = "__kernel__"
# arch/x86/include/asm/page_types.h
PAGE_SHIFT = 12
"""The value hard coded from the Linux Kernel (hence not extracted from the layer itself)"""