Compare commits

...

8 Commits
main ... master

@ -0,0 +1,7 @@
{
"files.associations": {
"los_swtmr_pri.h": "c",
"los_vm_syscall.h": "c",
"regex": "c"
}
}

@ -0,0 +1,3 @@
# Brief Intro
LMFAO, we do this shit just for fun :)

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

@ -0,0 +1,44 @@
# base 下的代码阅读
根据官方的README.md,kernel/base下的文件主要为**基础内核包括调度、内存等模块**
# 1. brief intro
OpenHarmony liteos 的进程实现方式与 linux 类似,都是通过父进程和子进程的一系列操作来达到实现一些功能的目的.
## 1.1 描述各个子功能
* los_bitmap.c 主要提供一些位操作
* los_info.c 提供一些基本的方法来对进程的信息等内容进行操作
* los_process.c 提供对于进程操作的方法包括创建切换等..
# 2. natural expression of requirement of software
作为操作系统当中的子系统,以软件的角度来看进程管理:
## 2.1 一个完备的进程管理系统应当具备
### (1) 进程调度
鸿蒙内核的进程采用抢占式调度机制支持时间片轮转调度方式和FIFO调度机制
### (2) 进程创建
![Alt text](image-4.png)
### (3) 进程回收
### (4)
### (5)
### (6)
# 3. user case diagram and user case description
![Alt text](image.png)
# 4. software architecture
![Alt text](image-5.png)

Binary file not shown.

@ -0,0 +1,42 @@
<!--
# 软件工程作业要求
## 1. 软件功能的自然语言描述
## 2. 软件的用例图和用例描述
## 3. 软件的体系结构(用包图描述其逻辑视图) -->
# LiteOS_kernel_a 泛读报告
## 一、 软件功能的自然语言描述
### 1.1 简介
Huawei LiteOS是华为面向IoT领域构建的轻量级物联网操作系统可广泛应用于智能家居、个人穿戴、车联网、城市公共服务、制造业等领域。
Huawei LiteOS发布于2015年5月的华为网络大会上。自开源社区发布以来围绕 NB-IoT 物联网市场从技术、生态、解决方案、商用支持等多维度使能合作伙伴,构建开源的物联网生态。目前已经聚合了 50+ MCU 和解决方案合作伙伴,共同推出一批开源开发套件和行业解决方案,帮助众多行业客户快速的推出物联网产品和服务。客户涵盖抄表、停车、路灯、环保、共享单车、物流等众多行业,为开发者提供 “一站式” 完整软件平台,可大幅降低设备布置及维护成本,有效降低开发门槛、缩短开发周期。
Huawei LiteOS开源项目目前支持 **ARM64、ARM Cortex-A、ARM Cortex-M0Cortex-M3Cortex-M4Cortex-M7** 等芯片架构。
### 1.2 软件功能
#### 1.2.1 提供一个简单轻便的用户交互界面以供使用。
#### 1.2.2 能够调用系统软硬件资源来完成某些操作。
#### 1.2.3 进程管理
#### 1.2.4 内存分配
#### 1.2.5 提供并行编程
## 二、 软件的用例图和用例描述
![Alt text](image.png)
## 三、 软件的体系结构
![Alt text](image-2.png)
![Alt text](image-6.png)

Binary file not shown.
Loading…
Cancel
Save