Rework x86_64 paging and vmm
This commit is contained in:
@ -35,6 +35,18 @@
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#define LL_FINDPROP(head, out, propname, propvalue) \
|
||||
do { \
|
||||
typeof((head)) __tmp = (head); \
|
||||
while (__tmp) { \
|
||||
if (__tmp->propname == (propvalue)) { \
|
||||
(out) = __tmp; \
|
||||
break; \
|
||||
} \
|
||||
__tmp = __tmp->next; \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
char *util_get_filename(char *path);
|
||||
|
||||
#endif // UTIL_UTIL_H_
|
||||
|
Reference in New Issue
Block a user