change according to review comments
This commit is contained in:
parent
cf43988523
commit
0752400a10
|
@ -15,12 +15,12 @@ The OpenHarmony LiteOS Cortex-M is the kernel designed for the lightweight opera
|
||||||
|
|
||||||
## Directory Structure<a name="section161941989596"></a>
|
## Directory Structure<a name="section161941989596"></a>
|
||||||
|
|
||||||
The directory structure is listed as below, for the detailed directories, please refer to [arch_spec.md](https://gitee.com/openharmony/kernel_liteos_m/blob/master/arch_spec.md).
|
The directory structure is listed as below, for the detailed directories, please refer to [arch_spec.md](arch_spec.md).
|
||||||
|
|
||||||
```
|
```
|
||||||
/kernel/liteos_m
|
/kernel/liteos_m
|
||||||
├── components # Optional components
|
├── components # Optional components
|
||||||
│ ├── backtrace # backtrace support
|
│ ├── backtrace # Backtrace support
|
||||||
│ ├── cppsupport # C++ support
|
│ ├── cppsupport # C++ support
|
||||||
│ ├── cpup # CPU possession (CPUP)
|
│ ├── cpup # CPU possession (CPUP)
|
||||||
│ ├── exchook # Exception hook
|
│ ├── exchook # Exception hook
|
||||||
|
|
|
@ -15,7 +15,7 @@ OpenHarmony LiteOS-M内核是面向IoT领域构建的轻量级物联网操作系
|
||||||
|
|
||||||
## 目录<a name="section161941989596"></a>
|
## 目录<a name="section161941989596"></a>
|
||||||
|
|
||||||
目录结构如下,详细目录请参考[arch_spec_zh.md](https://gitee.com/openharmony/kernel_liteos_m/blob/master/arch_spec_zh.md)。
|
目录结构如下,详细目录请参考[arch_spec_zh.md](arch_spec_zh.md)。
|
||||||
|
|
||||||
```
|
```
|
||||||
/kernel/liteos_m
|
/kernel/liteos_m
|
||||||
|
|
24
arch_spec.md
24
arch_spec.md
|
@ -9,25 +9,25 @@
|
||||||
│ └── net --- Network
|
│ └── net --- Network
|
||||||
├── kal --- Kernel Abstraction Layer, APIs exposed externally, including CMSIS APIs and part of POSIX APIs
|
├── kal --- Kernel Abstraction Layer, APIs exposed externally, including CMSIS APIs and part of POSIX APIs
|
||||||
│ ├── cmsis --- CMSIS
|
│ ├── cmsis --- CMSIS
|
||||||
│ └── posix --- posix
|
│ └── posix --- POSIX
|
||||||
├── kernel --- Code for defining the minimum kernel function set
|
├── kernel --- Code for defining the minimum kernel function set
|
||||||
│ ├── arch --- Code of the kernel instruction architecture layer
|
│ ├── arch --- Code of the kernel instruction architecture layer
|
||||||
│ │ ├── arm --- ARM32 architecture
|
│ │ ├── arm --- ARM32 architecture
|
||||||
│ │ │ ├── cortex-m3 --- cortex-m3 architecture
|
│ │ │ ├── cortex-m3 --- Cortex-m3 architecture
|
||||||
│ │ │ │ └── keil --- Implementation of the Keil toolchain
|
│ │ │ │ └── keil --- Implementation of the Keil toolchain
|
||||||
│ │ │ ├── cortex-m33 --- cortex-m33 architecture
|
│ │ │ ├── cortex-m33 --- Cortex-m33 architecture
|
||||||
│ │ │ │ │── gcc --- Implementation of the GCC toolchain
|
│ │ │ │ │── gcc --- Implementation of the GCC toolchain
|
||||||
│ │ │ │ └── iar --- Implementation of the IAR toolchain
|
│ │ │ │ └── iar --- Implementation of the IAR toolchain
|
||||||
│ │ │ └── cortex-m4 --- cortex-m4 architecture
|
│ │ │ └── cortex-m4 --- Cortex-m4 architecture
|
||||||
│ │ │ │ │── gcc --- Implementation of the GCC toolchain
|
│ │ │ │ │── gcc --- Implementation of the GCC toolchain
|
||||||
│ │ │ │ └── iar --- Implementation of the IAR toolchain
|
│ │ │ │ └── iar --- Implementation of the IAR toolchain
|
||||||
│ │ │ └── cortex-m7 --- cortex-m7 architecture
|
│ │ │ └── cortex-m7 --- Cortex-m7 architecture
|
||||||
│ │ │ │ │── gcc --- Implementation of the GCC toolchain
|
│ │ │ │ │── gcc --- Implementation of the GCC toolchain
|
||||||
│ │ │ │ └── iar --- Implementation of the IAR toolchain
|
│ │ │ │ └── iar --- Implementation of the IAR toolchain
|
||||||
│ │ ├── risc-v --- risc-v architecture
|
│ │ ├── risc-v --- Risc-v architecture
|
||||||
│ │ │ ├── nuclei --- nuclei architecture
|
│ │ │ ├── nuclei --- Nuclei architecture
|
||||||
│ │ │ │ └── gcc --- Implementation of the GCC toolchain
|
│ │ │ │ └── gcc --- Implementation of the GCC toolchain
|
||||||
│ │ │ └── riscv32 --- riscv32 architecture
|
│ │ │ └── riscv32 --- Riscv32 architecture
|
||||||
│ │ │ │ └── gcc --- Implementation of the GCC toolchain
|
│ │ │ │ └── gcc --- Implementation of the GCC toolchain
|
||||||
│ │ └── include
|
│ │ └── include
|
||||||
│ │ ├── los_arch.h --- Initialization
|
│ │ ├── los_arch.h --- Initialization
|
||||||
|
@ -53,15 +53,15 @@
|
||||||
├── targets
|
├── targets
|
||||||
│ └── targets
|
│ └── targets
|
||||||
│ └── riscv_nuclei_demo_soc_gcc
|
│ └── riscv_nuclei_demo_soc_gcc
|
||||||
│ │ ├── GCC --- compilation config
|
│ │ ├── GCC --- Compilation config
|
||||||
│ │ ├── OS_CONFIG --- board config
|
│ │ ├── OS_CONFIG --- Board config
|
||||||
│ │ ├── SoC --- SOC codes
|
│ │ ├── SoC --- SOC codes
|
||||||
│ │ └── Src --- application codes
|
│ │ └── Src --- Application codes
|
||||||
│ └── riscv_nuclei_gd32vf103_soc_gcc
|
│ └── riscv_nuclei_gd32vf103_soc_gcc
|
||||||
│ └── riscv_sifive_fe310_gcc
|
│ └── riscv_sifive_fe310_gcc
|
||||||
└── utils
|
└── utils
|
||||||
├── internal
|
├── internal
|
||||||
├── BUILD.gn --- gn build config file
|
├── BUILD.gn --- Gn build config file
|
||||||
├── los_compiler.h --- Compiler configuration
|
├── los_compiler.h --- Compiler configuration
|
||||||
├── los_debug.c --- Debugging facilities
|
├── los_debug.c --- Debugging facilities
|
||||||
├── los_debug.h
|
├── los_debug.h
|
||||||
|
|
|
@ -12,22 +12,22 @@
|
||||||
│ └── posix --- POSIX标准支持
|
│ └── posix --- POSIX标准支持
|
||||||
├── kernel --- 内核最小功能集代码
|
├── kernel --- 内核最小功能集代码
|
||||||
│ ├── arch --- 内核指令架构层代码
|
│ ├── arch --- 内核指令架构层代码
|
||||||
│ │ ├── arm --- arm32架构
|
│ │ ├── arm --- ARM32架构
|
||||||
│ │ │ ├── cortex-m3 --- cortex-m3架构
|
│ │ │ ├── cortex-m3 --- Cortex-m3架构
|
||||||
│ │ │ │ └── keil --- Keil编译工具链实现
|
│ │ │ │ └── keil --- Keil编译工具链实现
|
||||||
│ │ │ ├── cortex-m33 --- cortex-m33架构
|
│ │ │ ├── cortex-m33 --- Cortex-m33架构
|
||||||
│ │ │ │ │── gcc --- GCC编译工具链实现
|
│ │ │ │ │── gcc --- GCC编译工具链实现
|
||||||
│ │ │ │ └── iar --- IAR编译工具链实现
|
│ │ │ │ └── iar --- IAR编译工具链实现
|
||||||
│ │ │ └── cortex-m4 --- cortex-m4架构
|
│ │ │ └── cortex-m4 --- Cortex-m4架构
|
||||||
│ │ │ │ │── gcc --- GCC编译工具链实现
|
│ │ │ │ │── gcc --- GCC编译工具链实现
|
||||||
│ │ │ │ └── iar --- IAR编译工具链实现
|
│ │ │ │ └── iar --- IAR编译工具链实现
|
||||||
│ │ │ └── cortex-m7 --- cortex-m7架构
|
│ │ │ └── cortex-m7 --- Cortex-m7架构
|
||||||
│ │ │ │ │── gcc --- GCC编译工具链实现
|
│ │ │ │ │── gcc --- GCC编译工具链实现
|
||||||
│ │ │ │ └── iar --- IAR编译工具链实现
|
│ │ │ │ └── iar --- IAR编译工具链实现
|
||||||
│ │ ├── risc-v --- risc-v架构
|
│ │ ├── risc-v --- Risc-v架构
|
||||||
│ │ │ ├── nuclei --- nuclei架构
|
│ │ │ ├── nuclei --- Nuclei架构
|
||||||
│ │ │ │ └── gcc --- GCC编译工具链实现
|
│ │ │ │ └── gcc --- GCC编译工具链实现
|
||||||
│ │ │ └── riscv32 --- riscv32架构
|
│ │ │ └── riscv32 --- Riscv32架构
|
||||||
│ │ │ │ └── gcc --- GCC编译工具链实现
|
│ │ │ │ └── gcc --- GCC编译工具链实现
|
||||||
│ │ └── include
|
│ │ └── include
|
||||||
│ │ ├── los_arch.h --- 定义arch初始化
|
│ │ ├── los_arch.h --- 定义arch初始化
|
||||||
|
@ -56,14 +56,14 @@
|
||||||
│ │ ├── GCC --- 编译相关
|
│ │ ├── GCC --- 编译相关
|
||||||
│ │ ├── OS_CONFIG --- 开发板配置功能开关和配置参数
|
│ │ ├── OS_CONFIG --- 开发板配置功能开关和配置参数
|
||||||
│ │ ├── SoC --- SOC相关代码
|
│ │ ├── SoC --- SOC相关代码
|
||||||
│ │ └── Src ---application相关代码
|
│ │ └── Src --- Application相关代码
|
||||||
│ └── riscv_nuclei_gd32vf103_soc_gcc
|
│ └── riscv_nuclei_gd32vf103_soc_gcc
|
||||||
│ └── riscv_sifive_fe310_gcc
|
│ └── riscv_sifive_fe310_gcc
|
||||||
└── utils
|
└── utils
|
||||||
├── internal
|
├── internal
|
||||||
├── BUILD.gn --- gn构建文件
|
├── BUILD.gn --- Gn构建文件
|
||||||
├── los_compiler.h --- 编译工具配置,类型定义
|
├── los_compiler.h --- 编译工具配置,类型定义
|
||||||
├── los_debug.c --- debug,printf相关
|
├── los_debug.c --- Debug,printf相关
|
||||||
├── los_debug.h
|
├── los_debug.h
|
||||||
├── los_error.c --- 错误处理
|
├── los_error.c --- 错误处理
|
||||||
├── los_error.h
|
├── los_error.h
|
||||||
|
|
Loading…
Reference in New Issue