跳转到函数指针运行的地方,函数指针uboot中内容

来源:互联网 发布:js时间戳转换成天数 编辑:程序博客网 时间:2024/05/01 03:00

void nand_boot(void).......       __attribute__((noreturn)) void (*uboot)(void);//声明函数指针uboot..................        /*         * Jump to U-Boot image         */        uboot = (void *)CONFIG_SYS_NAND_U_BOOT_START;  //赋值指针地址        (*uboot)();  //跳转到指针地址执行


原创粉丝点击