Moonix: An Educational Operating System on Nezha D1-H RISC-V Development Board
摘要
RISC-V has been favored by major research institutions and universities since its emergence. However, there is a lack of relevant information on the research of general-purpose operating systems based on the RISC-V ISA, and the specialized nature of the available information has become an important obstacle to its entry into academic research and teaching. To address the aforementioned issues and further promote the adoption of RISC-V in university education and research, we design a RISC-V operating system based on the C language, called Moonix. It is divided into four modules: interrupt management, memory management, thread scheduling, and file system. Moonix can not only run on QEMU but also on the Nezha D1-H development board. Students can run Moonix on a real hardware, which can further stimulate their interest in learning operating systems.