diff nuc-fw/sysglue/appinit.c @ 130:8b0793c67f9f

nuc-fw: final preparations for the big transition
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 01 Nov 2013 08:03:23 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nuc-fw/sysglue/appinit.c	Fri Nov 01 08:03:23 2013 +0000
@@ -0,0 +1,36 @@
+/*
+ * This module contains our Application_Initialize() function,
+ * based on the disassembly of the binary object version in the
+ * Leonardo semi-src.
+ */
+
+#include "../include/config.h"
+
+Application_Initialize()
+{
+	Init_Target();
+	/*
+	 * The original version calls Init_Drivers() at this point,
+	 * but that function is nothing more than a short sequence
+	 * of calls to other functions, so I've inlined it.
+	 */
+#if 0
+	ABB_Sem_Create();
+	ffs_main_init();
+#endif
+	rvf_init();
+	rvm_init();
+	create_tasks();
+#if 0
+	SIM_Initialize();
+#endif
+	/* end of Init_Drivers() */
+#if CONFIG_GSM
+	Cust_Init_Layer1();
+#endif
+	Init_Serial_Flows();
+#if CONFIG_GSM
+	StartFrame();
+#endif
+	Init_Unmask_IT();
+}