Closed 996refuse closed 4 years ago
应该是通过 kvmalloc -> setupkvm_new 来配置内核页表的吧?为什么 main 没有 call kvmalloc? 神奇的是,kernel 代码竟然没有跑飞。
kvmalloc is not needed as the kernel page table is reserved initially in entry.s and will never change.
注意到了,感谢解答
应该是通过 kvmalloc -> setupkvm_new 来配置内核页表的吧?为什么 main 没有 call kvmalloc? 神奇的是,kernel 代码竟然没有跑飞。