应用程序想调用system call时必须转到kernel模式。cpu会提供指令(ecall)从user模式转到supervisor模式。 ... 比如访问它不该访问的地址,执行不该执行的riscv指令等。
確定! 回上一頁