port kmalloc and printk to rust (#83)

* 暂时移除cbindgen

* 将lib文件夹更名为libs文件夹(解决rust的冲突)

* 实现了全局的allocator

* 实现了printk宏

* new: 完善了printk的颜色
This commit is contained in:
login
2022-11-13 16:43:58 +08:00
committed by GitHub
parent 82d2e446a4
commit fb6c29d01d
49 changed files with 207 additions and 48 deletions

View File

@ -47,6 +47,7 @@ SECTIONS
{
_rodata = .;
*(.rodata)
*(.rodata.*)
_erodata = .;
}
@ -62,6 +63,7 @@ SECTIONS
{
_bss = .;
*(.bss)
*(.bss.*)
_ebss = .;
}