Virtual memory and dlmalloc
This commit is contained in:
7
kernel/util/util.h
Normal file
7
kernel/util/util.h
Normal 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_
|
Reference in New Issue
Block a user