TingHuang f8b55f6d3f
Patch uart (#99)
* 添加UART驱动相关文件

* 添加驱动核心文件,将rust编写的驱动代码加入Package中

* 添加glib.h文件生成rust代码,添加uart驱动代码

* 添加串口发送及接收相关代码

* 添加字符串发送函数,未实现具体功能

* 为调用uart驱动的代码添加rust接口

* 添加字符串发送函数,修改C语言调用接口

* 添加rust串口驱动

* 添加uart.h头文件,将串口端口类型改为enum

* 添加注释,规范代码
2022-12-06 22:15:03 +08:00

32 lines
757 B
C

/**
* @file sched-wrapper.h
* @author longjin (longjin@RinGoTek.cn)
* @brief 这是为调度器相关接口创建rust绑定的wrapper
* @version 0.1
* @date 2022-11-10
*
* @copyright Copyright (c) 2022
*
*/
#pragma once
#include <common/crc16.h>
#include <common/crc32.h>
#include <common/crc64.h>
#include <common/crc7.h>
#include <common/crc8.h>
#include <common/gfp.h>
#include <common/kfifo.h>
#include <common/list.h>
#include <common/lz4.h>
#include <common/printk.h>
#include <common/spinlock.h>
#include <common/unistd.h>
#include <common/glib.h>
#include <include/DragonOS/refcount.h>
#include <include/DragonOS/signal.h>
#include <mm/mm.h>
#include <mm/slab.h>
#include <process/process.h>
#include <sched/cfs.h>
#include <sched/sched.h>