#xv6

xv6(6)

xv6运行第一个程序的过程:intmain(void){kinit1(end,P2V(4*1024*1024));//physpageallocatorkvmalloc();//kernelpagetablempinit();//collectinfoaboutthismachinelapicinit();segini...
代码星球 ·2020-04-18

实现自己的shell--MIT xv6 shell

参考代码:#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<fcntl.h>#include<string.h>#include<assert.h>#include<s...