Chiichen 4537ffb7e9
实现了对用户空间传入指针抽象的UserBufferReader/Writer,来检验用户空间指针地址并提供一定的功能抽象 (#326)
* 构建了 Userbuffer 对用户空间传入的指针进行了抽象,并提供了读写操作

* 分成了Reader和Writer,增加了从地址读和写入到指定地址的功能

* 删除了多余的注释

* 增加了直接获取BufferWriter切片的函数

* 通过 where 的一个 Trick 实现了 const generic 和后续功能

* 替换为了 core::slice::align_to 实现&[u8}转&[T]

* 移除了 userbuffer.rs

* 提供了独立获取缓冲区中不同偏移量位置的数据的函数

* 替换了部分系统调用(还未测试

* 简化了代码

* 修复内存越界的bug

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>
2023-08-21 18:37:31 +08:00
2023-06-06 17:44:54 +08:00
2023-08-20 00:19:36 +08:00
2023-08-20 00:19:36 +08:00
2022-08-31 18:03:58 +08:00
2022-01-16 22:58:21 +08:00
2023-07-22 16:27:02 +08:00
2023-07-22 16:27:02 +08:00
2023-07-22 16:27:02 +08:00

DragonOS

Languages 中文|English

 

DragonOS is an operating system running on the X86_64 Architecture. This project is currently under development!

All you want to know about DragonOS is here - DragonOS

Websites

How to run?

The steps to run DragonOS are very simple. You can refer to the following information to run DragonOS within 15 minutes at the fastest!

DragonOS' Features

See documentation:Features

How to join DragonOS ?

If you are willing to join us, you can visit DragonOS's zulip community, learn about development dynamics and development tasks: https://DragonOS.zulipchat.com

Or, you can also bring your ideas, discuss with community members, and create some new functions for DragonOS.

How to contact the community?

You can send an email to the project's maintainer: longjin. His email address is [longjin@DragonOS.org](mailto: longjin@DragonOS.org) .

Or join our development exchange QQ group: 115763565

For the discussion of formal issues, we recommend that you use the official language to post on the corresponding section of DragonOS's zulip community. Or you can post questions under the issue of this repository.

List of contributors

Contributors to DragonOS-Community/DragonOS · GitHub

Get contact with us

Community Contact Email: contact@DragonOS.org

Maintainer longjin's Emaillongjin@DragonOS.org

Reward

DragonOS is an open source public welfare project, but its development cannot be separated from the support of funds. If you want, you can visit Sponsor - DragonOS , so as to promote the development of this project. The list of all sponsors will be published. Every bit of your sponsorship will contribute to the development of DragonOS!

Where will the sponsorship funds be used?

We guarantee that all sponsorship funds and items will be used for:

  • Subsidies or equipment support for active community developers
  • Cloud service expenditure of DragonOS
  • Equipment purchase
  • Any use conducive to the development and construction of DragonOS

Sponsor List

Not yet

We hope that in the future, some enterprises can sponsor DragonOS and inject financial power into its development!

Individual Sponsor List

Open source statement

This project adopts GPLv2 LICENSE for open source. You are welcome to use the code of this project on the basis of abiding by the open source license!

What we support: using this project to create greater value and contribute code to this project under the condition of abiding by the agreement.

What we condemn: any non-compliance with the open source license. Including but not limited to: plagiarizing the code of the project as your graduation project and other academic misconduct, as well as commercial closed source use without payment.

If you find any violation of the open source license, we welcome you to send email feedback! Let's build an honest open source community together!

References

This project refers to the following materials. I sincerely give my thanks to the authors of these projects, books and documents!

Description
DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for **Serverless** scenarios. 使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算Serverless场景而设计。
https://dragonos.org/ Readme GPL-2.0 168 MiB
Languages
Rust 95.5%
C 1.6%
Shell 1%
Makefile 0.9%
Assembly 0.7%
Other 0.3%