Project name: Operating system kernel based on RISC-V
instruction set architecture Project time: 2023-01~2023-03
Project description: This project is based on the xv6 operating
system based on the RISC-V instruction set architecture, and
expands and optimizes its system call, memory management,
process management, file system, interrupt and other
modules.
Main work:
1. Understand the xv6 system call process and add new system
calls;
2. Understand the xv6 virtual memory mechanism, the lasso
page table mechanism and modify it to simplify the process of
transferring data between user space and kernel;
3. Understand the interrupt processing process in xv6 and
implement the alarm system call based on the interrupt
mechanism;
4. Understand the use of page faults to implement lazy
allocation and write-time copy of memory pages in xv6;
5. Understand the LIv6 process scheduling and context
switching process, and implement coroutines in user mode for
reference once
6. Understand the changes in data structure and lock strategy,
reduce the allocation and release of free memory pages, and
the lock contention during the use of disk block cache blocks
7. Understand and modify the xv6 file system to improve the
size limit of a single file from 268KB to 65803KB; implement
soft links;
8. Implement memory-mapped files on xv6, map files to
memory, and reduce the number of disk accesses