The OpenHarmony kernel is a real-time OS kernel developed by Huawei for IoT devices. It is as lightweight as RTOS and as easy-to-use as Linux.
The kernel repository is used to store the source code of the OpenHarmony kernel components, including process and thread scheduling, memory management, IPC mechanism, and timer management, as well as the version package compilation information.
The OpenHarmony kernel includes basic kernel functions such as process and thread scheduling, memory management, IPC mechanism, and timer management.
The source code of the OpenHarmony kernel consists of two repositories: the [`kernel_liteos_a`](https://gitee.com/openharmony/kernel_liteos_a) repository for Cortex-A processors and the [`kernel_liteos_m`](https://gitee.com/openharmony/kernel_liteos_m) repository for Cortex-M processors. The directory structures of the two repositories are similar. The following describes the directory structure of kernel_liteos_a.
<tdclass="cellrowborder"valign="top"width="69.66%"headers="mcps1.2.3.1.2 "><pid="p547013018415"><aname="p547013018415"></a><aname="p547013018415"></a>Kernel and user-space test cases</p>
<tdclass="cellrowborder"valign="top"width="69.66%"headers="mcps1.2.3.1.2 "><pid="p17435635114116"><aname="p17435635114116"></a><aname="p17435635114116"></a>Code related to compilation configuration and <strongid="b1181842313414"><aname="b1181842313414"></a><aname="b1181842313414"></a>menuconfig</strong></p>
<tdclass="cellrowborder"valign="top"width="69.66%"headers="mcps1.2.3.1.2 "><pid="p17435635114116"><aname="p17435635114116"></a><aname="p17435635114116"></a>Building tool as well as related configuration and code</p>
</td>
</tr>
</tbody>
...
...
@@ -87,7 +84,7 @@ The kernel repository is used to store the source code of the OpenHarmony kernel
## Constraints<a name="section1967115154223"></a>
By default, the JFFS2 file system is used during system startup. This file system is read-write. If other file systems need to be used, the configurations of the file systems must be added accordingly.
Hi3518EV300 uses the JFFS2 file system by default, and Hi3516DV300 uses the VFAT file system by default. If other file systems need to be used, the configurations of the file systems must be added accordingly.
## Usage<a name="section1821123352217"></a>
...
...
@@ -95,11 +92,11 @@ For details, see [Kernel Usage Guidelines](../kernel/Readme-EN.md).