相关的Issue / Related Issues

#I1X91O:如何用qemu运行系统内核,能给个教程吗?

原因(目的、解决的问题等)/ Cause (Purpose, Problem, etc.)

在QEMU中启动OpenHarmony ,以允许没有硬件的开发。这组PR为虚拟Cortex-A7单板添加了BSP,由QEMU和该单板的专用目标进行仿真,因此输出映像可以在仿真平台上运行。目前只允许调试生成,所以OHOS引导到shell。目前还没有文件系统驱动程序,所以唯一可用的功能是shell中嵌入的命令。

It would be nice to boot OpenHarmony in QEMU to allow development without hardware. This set of PRs adds BSP for a virtual Cortex-A7 boards, emulated by QEMU and a dedicated target for that board, so the output image can be ran on an emulated platform. At the moment only debug build is allowed, so OHOS boots to shell. There is no filesystem driver yet, so the only functionality available are commands embedded in shell.

描述(做了什么,变更了什么)/ Description (What Is Made and What Is Changed)

本PR修改了一些#include指令,在添加了新的QEMU目标之后,修复了非海思目标的编译。

This PR alters some #include directives to fix compilation of non-HiSilicon targets, after the new QEMU target has been added.