?? entry.c
字號:
/* * User program entry point function * Copyright (c) 2003, Jeffrey K. Hollingsworth <hollings@cs.umd.edu> * Copyright (c) 2004, David H. Hovemeyer <daveho@cs.umd.edu> * $Revision: 1.10 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". */#include <geekos/argblock.h>int main(int argc, char **argv);void Exit(int exitCode);/* * Entry point. Calls user program's main() routine, then exits. */void _Entry(void){ struct Argument_Block *argBlock; /* The argument block pointer is in the ESI register. */ __asm__ __volatile__ ("movl %%esi, %0" : "=r" (argBlock)); /* Call main(), and then exit with whatever value it returns. */ Exit(main(argBlock->argc, argBlock->argv));}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -