summaryrefslogtreecommitdiff
path: root/Source/Kernel/MemoryManager/Mem.ns.h
blob: 15935c09de70f8c1b8df4e8523ceaa6863822e92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifdef DEF_COMMON

#ifndef DEF_MEM_NS_H
#define DEF_MEM_NS_H

namespace Mem {
	extern bool pagingEnabled;
	extern u32int placementAddress;

	void createHeap();
	void *kalloc(u32int sz, bool align = false);
	void kfree(void *ptr);

	u32int kheapSize(), kheapFree();
}

#endif

#endif