NetcanOS
Netcan OS is an operation system for x86 PCs, for learning how os works.
heap.h
浏览该文件的文档.
1 /*************************************************************************
2  > File Name: kernel/heap.h
3  > Author: Netcan
4  > Blog: http://www.netcan666.com
5  > Mail: 1469709759@qq.com
6  > Created Time: 2018-07-13 Fri 10:30:53 CST
7  ************************************************************************/
8 
9 
10 #include <io.h>
11 #ifndef HEAP_H
12 #define HEAP_H
14 void * kmalloc(u32 sz, s32 aligned, u32* phy_addr);
15 #endif
signed int s32
Definition: io.h:15
u32 heap_placement_address
堆地址,分配内存用
Definition: heap.c:12
unsigned int u32
Definition: io.h:14
void * kmalloc(u32 sz, s32 aligned, u32 *phy_addr)
内核内存分配函数
Definition: heap.c:20