diff gsm-fw/sysglue/appinit.c @ 143:afceeeb2cba1

Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:35:48 +0000
parents nuc-fw/sysglue/appinit.c@8b0793c67f9f
children 97b671efff9c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/sysglue/appinit.c	Tue Nov 12 05:35:48 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();
+}