diff gsm-fw/gpf/osl/os_mis_fl.c @ 478:dac495b0d222

os_mis_fl.c: global and static data reconstructed
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 28 Jun 2014 06:06:15 +0000
parents 2f79ddc12bb0
children 334a3381f569
line wrap: on
line diff
--- a/gsm-fw/gpf/osl/os_mis_fl.c	Fri Jun 27 07:23:00 2014 +0000
+++ b/gsm-fw/gpf/osl/os_mis_fl.c	Sat Jun 28 06:06:15 2014 +0000
@@ -25,3 +25,45 @@
 #include "dar_func.h"
 #include "tools.h"
 
+typedef unsigned char u_char;
+
+char *NU_State[13] = {
+	"NU_READY",
+	"",
+	"NU_SLEEP_SUSPEND",
+	"",
+	"",
+	"NU_QUEUE_SUSPEND",
+	"NU_SEMAPHORE_SUSPEND",
+	"",
+	"NU_PARTITION_SUSPEND",
+	"NU_MEMORY_SUSPEND",
+	"",
+	"NU_FINISHED",
+	"NU_TERMINATED",
+};
+
+char *msg_type[4] = {
+	"",
+	"PRIMITIVE",
+	"SIGNAL",
+	"TIMEOUT",
+};
+
+char *warning = "SYSTEM WARNING: ";
+
+T_GPF_DAR_PROPERTIES *dar;
+T_GPF_DAR_STRUCT os_dar;
+NU_PROTECT os_mis_Protect;
+u_char SystemErrorBuffer[256];
+u_char DARErrorBuffer[256];
+
+static u_char state;
+static int fd;
+static unsigned bytes_read;
+static u_char *msg;
+static unsigned count;
+static unsigned data_len;
+static unsigned dar_wrap_around;
+static unsigned dar_buffer_count;
+static unsigned dar_wrap_around_detected;