When I enter make qemu to compile, an error in the runcmd function will be displayed, as shown in the following figure:
My solution: add attribute((noreturn)) above runcmd in user/sh.c.
Increased compilation effect, successfully entered the terminal after compilation
When I enter make qemu to compile, an error in the runcmd function will be displayed, as shown in the following figure:
My solution: add attribute((noreturn)) above runcmd in user/sh.c.
Increased compilation effect, successfully entered the terminal after compilation
![2](https://github.com/mit-pdos/xv6-riscv/assets/103946808/bee73837-a106-4833-82fa-6de88931ef8d)