comparison gsm-fw/services/pcm/pcm.h @ 639:c07f9df9f6af

gsm-fw/services/pcm/pcm.h: basic preen
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 03 Sep 2014 16:32:11 +0000
parents 0b5f226bfdf4
children
comparison
equal deleted inserted replaced
638:0b5f226bfdf4 639:c07f9df9f6af
10 */ 10 */
11 11
12 #ifndef DEF_PCM 12 #ifndef DEF_PCM
13 #define DEF_PCM 13 #define DEF_PCM
14 14
15 #ifndef TARGET 15 #include "../../riviera/rv/general.h"
16 #include "ffs.cfg"
17 #endif
18
19 #if (TARGET == 1)
20 #include "rv/general.h"
21 #else
22 typedef unsigned char UBYTE;
23 typedef unsigned short USHORT;
24 #endif
25 16
26 #define LEN_MSCAP (NR_EF_MSCAP * SIZE_EF_MSCAP) + 2 17 #define LEN_MSCAP (NR_EF_MSCAP * SIZE_EF_MSCAP) + 2
27 #define LEN_IMEI (NR_EF_IMEI * SIZE_EF_IMEI) + 2 18 #define LEN_IMEI (NR_EF_IMEI * SIZE_EF_IMEI) + 2
28 #define LEN_IMSI (NR_EF_IMSI * SIZE_EF_IMSI) + 2 19 #define LEN_IMSI (NR_EF_IMSI * SIZE_EF_IMSI) + 2
29 #define LEN_SMS (NR_EF_SMS * SIZE_EF_SMS) + 2 20 #define LEN_SMS (NR_EF_SMS * SIZE_EF_SMS) + 2
823 ********************************************************************/ 814 ********************************************************************/
824 815
825 typedef struct pcm_EFhzcache_Type 816 typedef struct pcm_EFhzcache_Type
826 { 817 {
827 UBYTE cid[2]; 818 UBYTE cid[2];
828 UBYTE zone; 819 UBYTE zone;
829 } EF_HZCACHE; 820 } EF_HZCACHE;
830 821
831 #define SIZE_EF_HZCACHE 3 822 #define SIZE_EF_HZCACHE 3
832 #define NR_EF_HZCACHE 5 823 #define NR_EF_HZCACHE 5
833 824