Virtual memory and dlmalloc

This commit is contained in:
2025-08-14 01:49:04 +02:00
parent 95832bb3a7
commit b470fb03da
10 changed files with 6618 additions and 6 deletions

7
kernel/util/util.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef UTIL_UTIL_H_
#define UTIL_UTIL_H_
#define _DIV_ROUNDUP(num, div) ((num + div - 1) / div)
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif // UTIL_UTIL_H_