⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 start.c

📁 完整的Bell实验室的嵌入式文件系统TFS
💻 C
字号:
#include "stddefs.h"#include "arch_ppc.h"ulong   myStack[512];__eabi(){}start(){    char    **argv;    int argc;    /* Adjust the stack pointer to be at the top of the myStack array.     * This works because the assembler function that this is calling     * only needs the link register to return.     */    ppcMtsp((ulong)&myStack[510]);    /* Connect the application to the monitor.  This must be done     * prior to the application making any other attempts to use the     * "mon_" functions provided by the monitor.     */    monConnect((int(*)())(*(unsigned long *)0x02800004),(void *)0,(void *)0);    /* Extract argc/argv from structure and call main():     */    mon_getargv(&argc,&argv);    /* Call main, then return to monitor. */    return(main(argc,argv));}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -