Go to the source code of this file.
| #define GET_FREE_BITCOUNT |
( |
|
i | ) |
|
Value:
#define I_OFF(i)
Definition: priv_phys_mem_manager.h:18
#define KB4_MAX_VAL_MASK
Definition: priv_phys_mem_manager.h:13
#define KB4_DIVISOR
Definition: priv_phys_mem_manager.h:10
uint32_t * KB4_Blocks_FreeBitCount
Definition: priv_phys_mem_manager.h:15
| #define KB4_MAX_VAL_MASK (0xFFFFFFFF >> (32 - KB4_MAX_VAL_L)) |
| #define MAX_ALLOCS_PERENTRY ((PAGE_SIZE / sizeof(PhysAllocInfoEntry)) - 1) |
| #define SET_FREE_BITCOUNT |
( |
|
i, |
|
|
|
val |
|
) |
| |
Value:
#define I_OFF(i)
Definition: priv_phys_mem_manager.h:18
#define KB4_MAX_VAL_MASK
Definition: priv_phys_mem_manager.h:13
#define KB4_DIVISOR
Definition: priv_phys_mem_manager.h:10
uint32_t * KB4_Blocks_FreeBitCount
Definition: priv_phys_mem_manager.h:15
| void* MemMan_Alloc |
( |
uint64_t |
size | ) |
|
| uint64_t MemMan_CalculateBitmapIndex |
( |
uint64_t |
addr, |
|
|
size_t |
blockSize |
|
) |
| |
| void MemMan_Free |
( |
void * |
ptr, |
|
|
uint64_t |
size |
|
) |
| |
| void MemMan_Initialize |
( |
| ) |
|
| void MemMan_MarkKB4Used |
( |
uint64_t |
addr, |
|
|
uint64_t |
size |
|
) |
| |
| void MemMan_MarkUsed |
( |
uint64_t |
addr, |
|
|
uint64_t |
size |
|
) |
| |
| uint32_t* KB4_Blocks_Bitmap |
| uint64_t KB4_Blocks_Count |
| uint32_t * KB4_Blocks_FreeBitCount |
| uint64_t KB4_Blocks_FreeBitCount_EntryNum |
| uint8_t* MB2_Blocks_Bitmap |
| uint32_t MB2_Blocks_Count |