memory: remove logging in kMalloc/kFree

This commit is contained in:
Edgaru089 2021-11-08 00:39:25 +08:00
parent 297c20bbfc
commit e38a61a61a

View File

@ -27,12 +27,10 @@ void efiFree(void *data) {
void *kMalloc(size_t size) { void *kMalloc(size_t size) {
void *mem = dlmalloc(size); void *mem = dlmalloc(size);
io_Printf("kMalloc: size=%llu, pos=0x%llx\n", size, mem);
return mem; return mem;
} }
void kFree(void *data) { void kFree(void *data) {
io_Printf("kFree: 0x%llx\n", data);
dlfree(data); dlfree(data);
} }