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

📄 init.c

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 C
字号:
/*  *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. *  On-Line Applications Research Corporation (OAR). * *  $Id: init.c,v 1.8.2.2 2003/09/04 13:53:43 joel Exp $ */#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__#include <bsp.h>#include <stdlib.h>void *POSIX_Init(  void *argument){  extern int gnat_main ( int argc, char **argv, char **envp );  (void) gnat_main ( 0, 0, 0 );  exit( 0 );}/* *  Only for sp04 */rtems_id tcb_to_id(  Thread_Control *tcb){  return tcb->Object.id;}/* *  By putting this in brackets rather than quotes, we get the search *  path and can get this file from ".." in the mptests. */#define CONFIGURE_INIT#define CONFIGURE_GNAT_RTEMS#define CONFIGURE_MEMORY_OVERHEAD        (256)#include <config.h>

⌨️ 快捷键说明

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