-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
  实现了具有优秀架构设计的新的内存管理模块,对内核空间和用户空间的内存映射、分配、释放、管理等操作进行了封装,使得内核开发者可以更加方便地进行内存管理。   内存管理模块主要由以下类型的组件组成: - **硬件抽象层(MemoryManagementArch)** - 提供对具体处理器架构的抽象,使得内存管理模块可以在不同的处理器架构上运行 - **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射器(位于具体的用户地址空间结构中) - **页面刷新器(PageFlusher)** - 提供对页表的刷新操作(整表刷新、单页刷新、跨核心刷新) - **页帧分配器(FrameAllocator)** - 提供对页帧的分配、释放、管理等操作。具体来说,包括BumpAllocator、BuddyAllocator - **小对象分配器** - 提供对小内存对象的分配、释放、管理等操作。指的是内核里面的SlabAllocator (SlabAllocator的实现目前还没有完成) - **MMIO空间管理器** - 提供对MMIO地址空间的分配、管理操作。(目前这个模块待进一步重构) - **用户地址空间管理机制** - 提供对用户地址空间的管理。 - VMA机制 - 提供对用户地址空间的管理,包括VMA的创建、销毁、权限管理等操作 - 用户映射管理 - 与VMA机制共同作用,管理用户地址空间的映射 - **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等 - **C接口兼容层** - 提供对原有的C代码的接口,是的C代码能够正常运行。 除上面的新增内容以外,其它的更改内容: - 新增二进制加载器,以及elf的解析器 - 解决由于local_irq_save、local_irq_restore函数的汇编不规范导致影响栈行为的bug。 - 解决local_irq_save未关中断的错误。 - 修复sys_gettimeofday对timezone参数的处理的bug
- Loading branch information
Showing
124 changed files
with
8,270 additions
and
5,143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# DragonOS | ||
|
||
## 打造完全自主可控的数字化未来! | ||
|
||
--- | ||
|
||
**Languages** 中文|[English](README_EN.md) | ||
|
||
| ||
|
@@ -18,6 +22,8 @@ | |
|
||
- 项目文档 **[docs.DragonOS.org](https://docs.dragonos.org)** | ||
|
||
- **了解开发动态、开发任务,请访问DragonOS的zulip社群**: [https://DragonOS.zulipchat.com](https://DragonOS.zulipchat.com) | ||
|
||
- 开源论坛 **[bbs.DragonOS.org](https://bbs.dragonos.org)** | ||
|
||
- 软件镜像站 **[mirrors.DragonOS.org](https://mirrors.DragonOS.org)** | ||
|
@@ -42,19 +48,18 @@ | |
|
||
## 如何加入? | ||
|
||
  如果你愿意加入我们,你可以查看GitHub仓库的Project面板,选择近期已规划的功能,对他们进行完善。 | ||
  如果你愿意加入我们,你可以访问DragonOS的zulip社群,了解开发动态、开发任务: [https://DragonOS.zulipchat.com](https://DragonOS.zulipchat.com) | ||
|
||
  或者,你也可以带着你的创意与想法,和社区的小伙伴一起讨论,为DragonOS创造一些新的功能。 | ||
  你也可以带着你的创意与想法,和社区的小伙伴一起讨论,为DragonOS创造一些新的功能。 | ||
|
||
## 如何与社区建立联系? | ||
|
||
  你可以发邮件给Maintainer: longjin,邮件地址是 [[email protected]](mailto:[email protected]) 。 | ||
|
||
  或者是加入我们的开发交流QQ群:**115763565** | ||
|
||
  对于正式问题的讨论,我们建议在论坛[bbs.DragonOS.org](https://bbs.dragonos.org/)上的对应板块,使用正式的语言发帖讨论。亦或者是在本仓库的issue下提出问题。 | ||
  对于正式问题的讨论,我们建议在 **[DragonOS的zulip社群](https://DragonOS.zulipchat.com)** 上的对应板块,使用正式的语言发帖讨论。亦或者是在本仓库的issue下提出问题。 | ||
|
||
  在发帖的同时,可以把帖子转发到交流QQ群,这样能使得问题的交流更加高效,也便于问题的归档。 | ||
|
||
## 贡献者名单 | ||
|
||
|
@@ -68,7 +73,7 @@ | |
|
||
## 赞助 | ||
|
||
  DragonOS是一个公益性质的开源项目,但是它的发展离不开资金的支持,如果您愿意的话,可以通过 ** [赞助 - DragonOS](https://dragonos.org/?page_id=37) ** ,从而促进这个项目的发展。所有的赞助者的名单都会被公示。您的每一分赞助,都会为DragonOS的发展作出贡献! | ||
  DragonOS是一个公益性质的开源项目,但是它的发展离不开资金的支持,如果您愿意的话,可以通过 **[赞助 - DragonOS](https://dragonos.org/?page_id=37)** ,从而促进这个项目的发展。所有的赞助者的名单都会被公示。您的每一分赞助,都会为DragonOS的发展作出贡献! | ||
|
||
### 赞助的资金都会被用到哪里? | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
|
||
- Home Page **[DragonOS.org](https://dragonos.org)** | ||
- Documentation **[docs.DragonOS.org](https://docs.dragonos.org)** | ||
- **To learn about development dynamics and development tasks, please visit DragonOS's zulip community:** [https://DragonOS.zulipchat.com](https://DragonOS.zulipchat.com) | ||
- BBS **[bbs.DragonOS.org](https://bbs.dragonos.org)** | ||
- Software mirror website **[mirrors.DragonOS.org](https://mirrors.DragonOS.org)** | ||
- QQ group **115763565** | ||
|
@@ -31,7 +32,7 @@ | |
|
||
## How to join DragonOS ? | ||
|
||
  If you are willing to join us, you can check the project panel of the GitHub repo, select the recently planned functions, and improve them. | ||
  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](https://DragonOS.zulipchat.com) | ||
|
||
  Or, you can also bring your ideas, discuss with community members, and create some new functions for DragonOS. | ||
|
||
|
@@ -41,9 +42,8 @@ | |
|
||
  Or join our development exchange QQ group: **115763565** | ||
|
||
  For the discussion of formal issues, we suggest that they be discussed in the forum [BBS.Dragonos.org](https://bbs.dragonos.org/) In the corresponding section of the, use formal language to post for discussion. Or ask questions under the issue of the warehouse. | ||
  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](https://DragonOS.zulipchat.com)**. Or you can post questions under the issue of this repository. | ||
|
||
  While posting, you can forward the post to the communication QQ group, which can make the communication of problems more efficient and facilitate the archiving of problems. | ||
|
||
## List of contributors | ||
|
||
|
@@ -58,7 +58,7 @@ Maintainer longjin's Email:[email protected] | |
|
||
## 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](https://dragonos.org/?page_id=37) ** , 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! | ||
  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](https://dragonos.org/?page_id=37)** , 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? | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,50 @@ | |
与社区建立联系 | ||
==================================== | ||
|
||
联系方式 | ||
------------------------- | ||
|
||
社区公共邮箱:[email protected] | ||
|
||
DragonOS负责人: longjin | ||
DragonOS社区负责人: longjin | ||
|
||
工作邮箱: [email protected] | ||
|
||
开发交流QQ群: 115763565 | ||
|
||
DragonOS官网: https://DragonOS.org | ||
|
||
了解开发动态、开发任务,请访问DragonOS的zulip社群: https://DragonOS.zulipchat.com | ||
|
||
|
||
赞助及捐赠 | ||
------------------------- | ||
|
||
DragonOS是一个开源项目,我们欢迎任何形式的赞助和捐赠,您的捐赠将用于DragonOS的开发和维护,以及社区的运营。 | ||
|
||
您可以通过以下方式赞助和捐赠: | ||
|
||
- 访问DragonOS官网 https://DragonOS.org ,点击页面右上角的“赞助”按钮,进行捐赠 | ||
- 联系社区负责人,沟通具体的赞助方式等。 | ||
|
||
财务及捐赠信息公开 | ||
------------------------- | ||
|
||
DragonOS社区的捐赠信息将按年进行公开。赞助商、赞助者信息将在收到赞助后,15天内进行公开。 | ||
|
||
社区管理、财务及法务主体 | ||
------------------------- | ||
|
||
DragonOS社区的管理、财务及法务主体为:灵高计算机系统(广州)有限公司。 | ||
|
||
我们是一家开源公司,我们坚信,开源能为我国将来的IT,打下更好的基础。我们也通过其他业务创收,投入到DragonOS的研发之中。 | ||
|
||
公司负责DragonOS社区的运营、财务、法务事项处理工作。 | ||
|
||
地址:广东省广州市番禺区小谷围街广州大学城华南理工大学大学城校区 | ||
|
||
邮件:[email protected] | ||
|
||
官网:https://ringotek.com.cn | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.