diff --git a/Kernel/Source/Lib/Stubs.c b/Kernel/Source/Lib/Stubs.c index 6a223be..4133542 100644 --- a/Kernel/Source/Lib/Stubs.c +++ b/Kernel/Source/Lib/Stubs.c @@ -3,13 +3,4 @@ void* memset(void* destination, int value, Size count) { return MemorySet(destination, value, count); -} - -// A little bit of Monica in my life -// A little bit of Erica by my side -// A little bit of Rita's all I need -// A little bit of Tina's what I see -// A little bit of Sandra in the sun -// A little bit of Mary all night long -// A little bit of Jessica, here I am -// A little bit of you makes me your man \ No newline at end of file +} \ No newline at end of file diff --git a/Kernel/Source/VM/VMM.c b/Kernel/Source/VM/VMM.c index f279528..7e4cec2 100644 --- a/Kernel/Source/VM/VMM.c +++ b/Kernel/Source/VM/VMM.c @@ -3,12 +3,11 @@ #include #include #include +#include #include "../Common/bootinfo.h" -#include "OS/Log.h" static const UInt64 kPTEAddressMask = 0x0000FFFFFFFFF000ULL; static inline Address GetPTEAddress(UInt64 entry) { return entry & kPTEAddressMask; } -static inline UInt64 GetPTEFlags(UInt64 entry) { return entry & ~kPTEAddressMask; } static inline UInt16 GetL0Index(Address virt) { return (virt >> 39) & 0x1FF; } static inline UInt16 GetL1Index(Address virt) { return (virt >> 30) & 0x1FF; } static inline UInt16 GetL2Index(Address virt) { return (virt >> 21) & 0x1FF; }