|
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #if !defined(__STATAPI_DEVICEINFORMATION_H__) |
|
21 #define __STATAPI_DEVICEINFORMATION_H__ |
|
22 |
|
23 #include <hal_data.h> |
|
24 |
|
25 //------------------------------------------------------------------------------ |
|
26 |
|
27 #define NO_MORE_DEVICE_INFORMATION _S8("NO MORE DEVICE INFORMATION") // end of array |
|
28 |
|
29 const TText8* const ENUM_DEVICEINFORMATIONArray[5][20] = |
|
30 { |
|
31 { |
|
32 //UID Info |
|
33 _S8("5mx"), |
|
34 _S8("Brutus"), |
|
35 _S8("Cogent"), |
|
36 _S8("Win32 Emulator"), |
|
37 _S8("WinC"), |
|
38 _S8("CL7211 Evaluation"), |
|
39 _S8("LinkUp"), |
|
40 _S8("Assabet"), |
|
41 _S8("IQ80310"), |
|
42 _S8("Integrator"), |
|
43 _S8("Helen"), |
|
44 NO_MORE_DEVICE_INFORMATION |
|
45 }, |
|
46 { |
|
47 //CPU Type |
|
48 _S8("ARM"), |
|
49 _S8("MCORE"), |
|
50 _S8("X86"), |
|
51 NO_MORE_DEVICE_INFORMATION |
|
52 }, |
|
53 { |
|
54 //CPU ABI |
|
55 _S8("ARM4"), |
|
56 _S8("ARMI"), |
|
57 _S8("THUMB"), |
|
58 _S8("MCORE"), |
|
59 _S8("MSVC"), |
|
60 _S8("ARM5T"), |
|
61 NO_MORE_DEVICE_INFORMATION |
|
62 }, |
|
63 { |
|
64 //DEVICE FAMILY |
|
65 _S8("Crystal"), |
|
66 _S8("Pearl"), |
|
67 _S8("Quartz"), |
|
68 NO_MORE_DEVICE_INFORMATION |
|
69 }, |
|
70 { |
|
71 //Manufacturer |
|
72 _S8("Ericsson"), |
|
73 _S8("Motorola"), |
|
74 _S8("Nokia"), |
|
75 _S8("Panasonic"), |
|
76 _S8("Psion"), |
|
77 _S8("Intel"), |
|
78 _S8("Cogent"), |
|
79 _S8("Cirrus"), |
|
80 _S8("Linkup"), |
|
81 _S8("Texas Instruments"), |
|
82 NO_MORE_DEVICE_INFORMATION |
|
83 } |
|
84 }; |
|
85 |
|
86 //------------------------------------------------------------------------------ |
|
87 |
|
88 const TUint ENUM_VALDEVICEINFORMATIONArray[5][20] = |
|
89 { |
|
90 { |
|
91 //UID Info |
|
92 HALData::EMachineUid_Series5mx, |
|
93 HALData::EMachineUid_Brutus, |
|
94 HALData::EMachineUid_Cogent, |
|
95 HALData::EMachineUid_Win32Emulator, |
|
96 HALData::EMachineUid_WinC, |
|
97 HALData::EMachineUid_CL7211_Eval, |
|
98 HALData::EMachineUid_LinkUp, |
|
99 #ifndef SYMBIAN_DIST_SERIES60 |
|
100 HALData::EMachineUid_Assabet, |
|
101 HALData::EMachineUid_IQ80310, |
|
102 HALData::EMachineUid_Integrator, |
|
103 HALData::EMachineUid_Helen, |
|
104 #endif |
|
105 NULL |
|
106 }, |
|
107 { |
|
108 //CPU Type |
|
109 HALData::ECPU_ARM, |
|
110 HALData::ECPU_MCORE, |
|
111 HALData::ECPU_X86, |
|
112 NULL |
|
113 }, |
|
114 { |
|
115 //CPU ABI |
|
116 HALData::ECPUABI_ARM4, |
|
117 HALData::ECPUABI_ARMI, |
|
118 HALData::ECPUABI_THUMB, |
|
119 HALData::ECPUABI_MCORE, |
|
120 HALData::ECPUABI_MSVC, |
|
121 #ifndef SYMBIAN_DIST_SERIES60 |
|
122 HALData::ECPUABI_ARM5T, |
|
123 #endif |
|
124 NULL |
|
125 }, |
|
126 { |
|
127 //DEVICE FAMILY |
|
128 HALData::EDeviceFamily_Crystal, |
|
129 HALData::EDeviceFamily_Pearl, |
|
130 HALData::EDeviceFamily_Quartz, |
|
131 NULL |
|
132 }, |
|
133 { |
|
134 //Manufacturer |
|
135 HALData::EManufacturer_Ericsson, |
|
136 HALData::EManufacturer_Motorola, |
|
137 HALData::EManufacturer_Nokia, |
|
138 HALData::EManufacturer_Panasonic, |
|
139 HALData::EManufacturer_Psion, |
|
140 HALData::EManufacturer_Intel, |
|
141 HALData::EManufacturer_Cogent, |
|
142 HALData::EManufacturer_Cirrus, |
|
143 HALData::EManufacturer_Linkup, |
|
144 #ifndef SYMBIAN_DIST_SERIES60 |
|
145 HALData::EManufacturer_TexasInstruments, |
|
146 #endif |
|
147 NULL |
|
148 } |
|
149 }; |
|
150 |
|
151 #endif |