feat(arm64): higher-half kernel, early MMU in boot, and VMM

This commit is contained in:
karina
2026-04-26 21:47:41 +04:00
parent 3a55665bd7
commit b56b55e4b3
14 changed files with 485 additions and 55 deletions
+5 -5
View File
@@ -8,15 +8,15 @@ static void BufferAdd(ASCII* buffer, Size bufferSize, Size* written, ASCII chara
(*written)++;
}
void* StringSet(BytePointer destination, ASCII value, Size count) {
BytePointer savedDestination = destination;
Pointer MemorySet(Pointer destination, ASCII value, Size count) {
BytePointer savedDestination = (BytePointer) destination;
while (count--) {
*destination++ = (UInt8) value;
*savedDestination++ = (UInt8) value;
}
return savedDestination;
return destination;
}
void* MemoryCopy(void* destination, const void* source, Size count) {
Pointer MemoryCopy(Pointer destination, const Pointer source, Size count) {
BytePointer destinationBuffer = (BytePointer) destination;
const UInt8* sourceBuffer = (const UInt8*) source;
+11 -2
View File
@@ -2,5 +2,14 @@
#include <Lib/String.h>
void* memset(void* destination, int value, Size count) {
return StringSet(destination, value, 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