[orbis-kernel] Implement kfree

Incomplete implementation.
This commit is contained in:
Ivan Chikish 2023-07-06 22:10:15 +03:00
parent 5f6647540c
commit 9744c41ebb
3 changed files with 61 additions and 26 deletions

View file

@ -37,6 +37,8 @@ template <typename T> using kvector = std::vector<T, kallocator<T>>;
template <typename T> using kdeque = std::deque<T, kallocator<T>>;
template <typename K, typename T, typename Cmp = std::less<>>
using kmap = std::map<K, T, Cmp, kallocator<std::pair<const K, T>>>;
template <typename K, typename T, typename Cmp = std::less<>>
using kmultimap = std::multimap<K, T, Cmp, kallocator<std::pair<const K, T>>>;
template <typename K, typename T, typename Hash = std::hash<K>,
typename Pred = std::equal_to<K>>
using kunmap =