Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:40

0001 /*
0002  * COPYRIGHT (c) 2019.
0003  * On-Line Applications Research Corporation (OAR).
0004  *
0005  * SPDX-License-Identifier: BSD-2-Clause
0006  */
0007 
0008 #include <stdlib.h>
0009 
0010 int main(int argc, char **argv);
0011 
0012 static char *argv_list[] = {
0013   "psxsignal07",
0014   ""
0015 };
0016 static void *POSIX_Init(void *arg)
0017 {
0018   (void) arg;  /* deliberately ignored */
0019 
0020   /*
0021    * Initialize optional services
0022    */
0023 
0024   /*
0025    * Could get arguments from command line or have a static set.
0026    */
0027   (void) main(1, argv_list);
0028 
0029   return NULL;
0030 }
0031 
0032 #include <bsp.h> /* for device driver prototypes */
0033 
0034 /* NOTICE: the clock driver is explicitly disabled */
0035 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
0036 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
0037 
0038 #define CONFIGURE_POSIX_INIT_THREAD_TABLE
0039 
0040 #define CONFIGURE_UNLIMITED_OBJECTS
0041 #define CONFIGURE_UNIFIED_WORK_AREAS
0042 
0043 #define CONFIGURE_INIT
0044 #include <rtems/confdefs.h>