Define pool allocation tags
This commit is contained in:
@@ -25,5 +25,6 @@
|
|||||||
#include <mm/pfn.hh>
|
#include <mm/pfn.hh>
|
||||||
#include <mm/pool.hh>
|
#include <mm/pool.hh>
|
||||||
#include <mm/quota.hh>
|
#include <mm/quota.hh>
|
||||||
|
#include <mm/tags.hh>
|
||||||
|
|
||||||
#endif /* __XTOSKRNL_MM_HH */
|
#endif /* __XTOSKRNL_MM_HH */
|
||||||
|
|||||||
23
xtoskrnl/includes/mm/tags.hh
Normal file
23
xtoskrnl/includes/mm/tags.hh
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/**
|
||||||
|
* PROJECT: ExectOS
|
||||||
|
* COPYRIGHT: See COPYING.md in the top level directory
|
||||||
|
* FILE: xtoskrnl/includes/mm/tags.hh
|
||||||
|
* DESCRIPTION: Memory Manager allocation tags
|
||||||
|
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __XTOSKRNL_MM_TAGS_HH
|
||||||
|
#define __XTOSKRNL_MM_TAGS_HH
|
||||||
|
|
||||||
|
#include <xtos.hh>
|
||||||
|
|
||||||
|
|
||||||
|
/* Allocation tags */
|
||||||
|
#define TAG_HL_FRAMEBUFFER SIGNATURE32('F', 'B', 'U', 'F')
|
||||||
|
#define TAG_MM_BIG_ALLOC SIGNATURE32('B', 'I', 'G', 'A')
|
||||||
|
#define TAG_MM_MEMORY_MGR SIGNATURE32('M', 'M', 'G', 'R')
|
||||||
|
#define TAG_MM_OVERFLOW SIGNATURE32('O', 'V', 'F', 'L')
|
||||||
|
#define TAG_MM_MEMORY_POOL SIGNATURE32('P', 'O', 'O', 'L')
|
||||||
|
#define TAG_MM_NONE SIGNATURE32('N', 'O', 'N', 'E')
|
||||||
|
|
||||||
|
#endif /* __XTOSKRNL_MM_TAGS_HH */
|
||||||
Reference in New Issue
Block a user