summaryrefslogtreecommitdiffstats
path: root/rpc_demo
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-12 19:59:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-12 19:59:54 +0000
commit0417fe38d63d1f663a72e9afc13a68126d9e4576 (patch)
tree0a5b0ea86207649ad3c5e1f3bd3f2544727c1480 /rpc_demo
parent2009-05-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadnetwork-demos-0417fe38d63d1f663a72e9afc13a68126d9e4576.tar.bz2
2009-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* init.c: Now build with libbsdport.
Diffstat (limited to 'rpc_demo')
-rw-r--r--rpc_demo/ChangeLog4
-rw-r--r--rpc_demo/init.c43
2 files changed, 26 insertions, 21 deletions
diff --git a/rpc_demo/ChangeLog b/rpc_demo/ChangeLog
index 6b7df85..54b884b 100644
--- a/rpc_demo/ChangeLog
+++ b/rpc_demo/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * init.c: Now build with libbsdport.
+
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* init.c: Rename STACK_CHECKER_ON to more appropriate
diff --git a/rpc_demo/init.c b/rpc_demo/init.c
index c2da2ab..c3b167e 100644
--- a/rpc_demo/init.c
+++ b/rpc_demo/init.c
@@ -8,27 +8,6 @@
#include <stdio.h>
#include <stdlib.h>
-#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
-#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
-
-#define CONFIGURE_STACK_CHECKER_ENABLED
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
-#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
-#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 2
-#define CONFIGURE_MAXIMUM_SEMAPHORES 20
-#define CONFIGURE_MAXIMUM_TASKS 12
-
-#define CONFIGURE_MICROSECONDS_PER_TICK 20000
-
-#define CONFIGURE_INIT_TASK_PRIORITY 99
-#define CONFIGURE_INIT_TASK_STACK_SIZE (16*1024)
-#define CONFIGURE_INIT
-
-rtems_task Init(rtems_task_argument argument);
-
-#include <rtems/confdefs.h>
-
/*
* Network configuration
*/
@@ -69,3 +48,25 @@ Init (rtems_task_argument ignored)
*/
void pmap_set () { ; }
void pmap_unset () { ; }
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
+#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
+
+#define CONFIGURE_STACK_CHECKER_ENABLED
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 2
+#define CONFIGURE_MAXIMUM_SEMAPHORES 20
+#define CONFIGURE_MAXIMUM_TASKS 12
+
+#define CONFIGURE_MICROSECONDS_PER_TICK 20000
+
+#define CONFIGURE_INIT_TASK_PRIORITY 99
+#define CONFIGURE_INIT_TASK_STACK_SIZE (16*1024)
+#define CONFIGURE_INIT
+
+rtems_task Init(rtems_task_argument argument);
+
+#include <rtems/confdefs.h>
+