Kernel: Add MiniStdLib to the Aarch64 kernel

This commit is contained in:
James Mintram 2021-10-16 22:51:40 +01:00 committed by Linus Groh
parent 183a2ec8bd
commit 8e4d53f216
Notes: sideshowbarker 2024-07-18 02:17:56 +09:00
2 changed files with 1 additions and 13 deletions

View file

@ -86,17 +86,4 @@ void kernelcriticalputstr(const char*, size_t) { }
void kernelearlyputstr(const char*, size_t);
void kernelearlyputstr(const char*, size_t) { }
// MiniStdLib.cpp
void* memcpy(void*, const void*, size_t);
void* memcpy(void*, const void*, size_t) { return nullptr; }
void* memmove(void*, const void*, size_t);
void* memmove(void*, const void*, size_t) { return nullptr; }
void* memset(void*, int, size_t);
void* memset(void*, int, size_t) { return nullptr; }
size_t strlen(const char*);
size_t strlen(const char*) { return 0; }
}

View file

@ -372,6 +372,7 @@ else()
Arch/aarch64/SmapDisabler.cpp
Arch/aarch64/ScopedCritical.cpp
StdLib.cpp
MiniStdLib.cpp
UBSanitizer.cpp
)