diff --git a/README.md b/README.md index b024ee82..72d7fc2c 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ The OpenHarmony LiteOS Cortex-M is the kernel designed for the lightweight opera ## Directory Structure -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 ├── components # Optional components -│ ├── backtrace # backtrace support +│ ├── backtrace # Backtrace support │ ├── cppsupport # C++ support │ ├── cpup # CPU possession (CPUP) │ ├── exchook # Exception hook diff --git a/README_zh.md b/README_zh.md index f3db5440..0cb36dfa 100644 --- a/README_zh.md +++ b/README_zh.md @@ -15,7 +15,7 @@ OpenHarmony LiteOS-M内核是面向IoT领域构建的轻量级物联网操作系 ## 目录 -目录结构如下,详细目录请参考[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 diff --git a/arch_spec.md b/arch_spec.md index e125e0bd..a7a024b6 100644 --- a/arch_spec.md +++ b/arch_spec.md @@ -9,25 +9,25 @@ │   └── net --- Network ├── kal --- Kernel Abstraction Layer, APIs exposed externally, including CMSIS APIs and part of POSIX APIs │   ├── cmsis --- CMSIS -│   └── posix --- posix +│   └── posix --- POSIX ├── kernel --- Code for defining the minimum kernel function set │   ├── arch --- Code of the kernel instruction architecture layer │   │   ├── arm --- ARM32 architecture -│   │   │   ├── cortex-m3 --- cortex-m3 architecture +│   │   │   ├── cortex-m3 --- Cortex-m3 architecture │   │   │   │ └── keil --- Implementation of the Keil toolchain -│   │   │   ├── cortex-m33 --- cortex-m33 architecture +│   │   │   ├── cortex-m33 --- Cortex-m33 architecture │   │   │   │ │── gcc --- Implementation of the GCC toolchain │   │   │   │ └── iar --- Implementation of the IAR toolchain -│   │   │   └── cortex-m4 --- cortex-m4 architecture +│   │   │   └── cortex-m4 --- Cortex-m4 architecture │   │   │   │ │── gcc --- Implementation of the GCC toolchain │   │   │   │ └── iar --- Implementation of the IAR toolchain -│   │   │   └── cortex-m7 --- cortex-m7 architecture +│   │   │   └── cortex-m7 --- Cortex-m7 architecture │   │   │   │ │── gcc --- Implementation of the GCC toolchain │   │   │   │ └── iar --- Implementation of the IAR toolchain -│   │   ├── risc-v --- risc-v architecture -│   │   │ ├── nuclei --- nuclei architecture +│   │   ├── risc-v --- Risc-v architecture +│   │   │ ├── nuclei --- Nuclei architecture │   │   │   │ └── gcc --- Implementation of the GCC toolchain -│   │   │ └── riscv32 --- riscv32 architecture +│   │   │ └── riscv32 --- Riscv32 architecture │   │   │   │ └── gcc --- Implementation of the GCC toolchain │   │   └── include │   │   ├── los_arch.h --- Initialization @@ -53,15 +53,15 @@ ├── targets │   └── targets │   └── riscv_nuclei_demo_soc_gcc -│ │ ├── GCC --- compilation config -│ │ ├── OS_CONFIG --- board config +│ │ ├── GCC --- Compilation config +│ │ ├── OS_CONFIG --- Board config │ │ ├── SoC --- SOC codes -│ │ └── Src --- application codes +│ │ └── Src --- Application codes │   └── riscv_nuclei_gd32vf103_soc_gcc │   └── riscv_sifive_fe310_gcc └── utils ├── internal - ├── BUILD.gn --- gn build config file + ├── BUILD.gn --- Gn build config file ├── los_compiler.h --- Compiler configuration ├── los_debug.c --- Debugging facilities ├── los_debug.h diff --git a/arch_spec_zh.md b/arch_spec_zh.md index 53922224..99a4e535 100644 --- a/arch_spec_zh.md +++ b/arch_spec_zh.md @@ -12,22 +12,22 @@ │   └── posix --- POSIX标准支持 ├── kernel --- 内核最小功能集代码 │   ├── arch --- 内核指令架构层代码 -│   │   ├── arm --- arm32架构 -│   │   │   ├── cortex-m3 --- cortex-m3架构 +│   │   ├── arm --- ARM32架构 +│   │   │   ├── cortex-m3 --- Cortex-m3架构 │   │   │   │ └── keil --- Keil编译工具链实现 -│   │   │   ├── cortex-m33 --- cortex-m33架构 +│   │   │   ├── cortex-m33 --- Cortex-m33架构 │   │   │   │ │── gcc --- GCC编译工具链实现 │   │   │   │ └── iar --- IAR编译工具链实现 -│   │   │   └── cortex-m4 --- cortex-m4架构 +│   │   │   └── cortex-m4 --- Cortex-m4架构 │   │   │   │ │── gcc --- GCC编译工具链实现 │   │   │   │ └── iar --- IAR编译工具链实现 -│   │   │   └── cortex-m7 --- cortex-m7架构 +│   │   │   └── cortex-m7 --- Cortex-m7架构 │   │   │   │ │── gcc --- GCC编译工具链实现 │   │   │   │ └── iar --- IAR编译工具链实现 -│   │   ├── risc-v --- risc-v架构 -│   │   │ ├── nuclei --- nuclei架构 +│   │   ├── risc-v --- Risc-v架构 +│   │   │ ├── nuclei --- Nuclei架构 │   │   │   │ └── gcc --- GCC编译工具链实现 -│   │   │ └── riscv32 --- riscv32架构 +│   │   │ └── riscv32 --- Riscv32架构 │   │   │   │ └── gcc --- GCC编译工具链实现 │   │   └── include │   │   ├── los_arch.h --- 定义arch初始化 @@ -56,14 +56,14 @@ │ │ ├── GCC --- 编译相关 │ │ ├── OS_CONFIG --- 开发板配置功能开关和配置参数 │ │ ├── SoC --- SOC相关代码 -│ │ └── Src ---application相关代码 +│ │ └── Src --- Application相关代码 │   └── riscv_nuclei_gd32vf103_soc_gcc │   └── riscv_sifive_fe310_gcc └── utils ├── internal - ├── BUILD.gn --- gn构建文件 + ├── BUILD.gn --- Gn构建文件 ├── los_compiler.h --- 编译工具配置,类型定义 - ├── los_debug.c --- debug,printf相关 + ├── los_debug.c --- Debug,printf相关 ├── los_debug.h ├── los_error.c --- 错误处理 ├── los_error.h