comparison 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
comparison
equal deleted inserted replaced
477:2f79ddc12bb0 478:dac495b0d222
23 #include "drvconf.h" 23 #include "drvconf.h"
24 #include "../tst_pei/tstdriver.h" 24 #include "../tst_pei/tstdriver.h"
25 #include "dar_func.h" 25 #include "dar_func.h"
26 #include "tools.h" 26 #include "tools.h"
27 27
28 typedef unsigned char u_char;
29
30 char *NU_State[13] = {
31 "NU_READY",
32 "",
33 "NU_SLEEP_SUSPEND",
34 "",
35 "",
36 "NU_QUEUE_SUSPEND",
37 "NU_SEMAPHORE_SUSPEND",
38 "",
39 "NU_PARTITION_SUSPEND",
40 "NU_MEMORY_SUSPEND",
41 "",
42 "NU_FINISHED",
43 "NU_TERMINATED",
44 };
45
46 char *msg_type[4] = {
47 "",
48 "PRIMITIVE",
49 "SIGNAL",
50 "TIMEOUT",
51 };
52
53 char *warning = "SYSTEM WARNING: ";
54
55 T_GPF_DAR_PROPERTIES *dar;
56 T_GPF_DAR_STRUCT os_dar;
57 NU_PROTECT os_mis_Protect;
58 u_char SystemErrorBuffer[256];
59 u_char DARErrorBuffer[256];
60
61 static u_char state;
62 static int fd;
63 static unsigned bytes_read;
64 static u_char *msg;
65 static unsigned count;
66 static unsigned data_len;
67 static unsigned dar_wrap_around;
68 static unsigned dar_buffer_count;
69 static unsigned dar_wrap_around_detected;