> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 15:13:20 up 8 days, 2:57, 1 user, load average: 0.24, 0.23, 0.31
This commit is contained in:
@ -18,8 +18,8 @@ int _gettimeofday(struct timeval *tv, struct timezone *tz) {
|
|||||||
int _execve(const char *fname, char *const argv[], char *const envp[]);
|
int _execve(const char *fname, char *const argv[], char *const envp[]);
|
||||||
|
|
||||||
void _exit(int status) {
|
void _exit(int status) {
|
||||||
printf("!!!!!!!!!!!!!!!!!!!!Exit with status %d\n", status);
|
// printf("!!!!!!!!!!!!!!!!!!!!Exit with status %d\n", status);
|
||||||
halt(status);
|
// halt(status);
|
||||||
_execve("/bin/menu", NULL, NULL);
|
_execve("/bin/menu", NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user