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

@ -1,7 +1,7 @@
#pragma once
#include <common/glib.h>
#include <stdbool.h>
#include <lib/libUI/screen_manager.h>
#include <libs/libUI/screen_manager.h>
/**
* @brief 重新初始化显示驱动,需先低级初始化才能高级初始化