We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4332f commit ab97963Copy full SHA for ab97963
hypervisor/include/lib/util.h
@@ -56,4 +56,8 @@
56
/** Roundup (x/y) to ( x/y + (x%y) ? 1 : 0) **/
57
#define INT_DIV_ROUNDUP(x, y) (((x)+(y)-1)/(y))
58
59
+#define min(x, y) ((x) < (y)) ? (x) : (y)
60
+
61
+#define max(x, y) ((x) < (y)) ? (y) : (x)
62
63
#endif /* UTIL_H */
0 commit comments