feat(arm64): higher-half kernel, early MMU in boot, and VMM
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user