Full PMM implementation

This commit is contained in:
2025-04-04 16:58:54 +02:00
parent 5d7a4d790f
commit 25771de53e
6 changed files with 78 additions and 28 deletions
+1
View File
@@ -40,6 +40,7 @@ typedef char* va_list;
#define max(_x, _y) ({ typeof(_x) __x = (_x); typeof(_y) __y = (_y); __x > __y ? __x : __y; })
#define ceil(_x, _y) ((((_x) + (_y)) (_y)) * (_y))
#define floor(_x, _y) ((_x) - ((_x) % (_y)))
#define dceil(_x, _y) (((_x) + (_y) - 1) / (_y))
/*
* Attribute definitions