0
|
1 |
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Needs to be kept in sync with hal/inc/hal_data.h
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#define _PATCHARRAYDATA(dll,symbol,size,index,value) patchdata dll@symbol##:##size##[##index##] value
|
|
19 |
|
|
20 |
#define HALOVERRIDE(eindex,value) _PATCHARRAYDATA(hal.dll,HalInternal::InitialValue,32,eindex,value)
|
|
21 |
|
|
22 |
#define EManufacturer 0
|
|
23 |
#define EManufacturerHardwareRev 1
|
|
24 |
#define EManufacturerSoftwareRev 2
|
|
25 |
#define EManufacturerSoftwareBuild 3
|
|
26 |
#define EModel 4
|
|
27 |
#define EMachineUid 5
|
|
28 |
#define EDeviceFamily 6
|
|
29 |
#define EDeviceFamilyRev 7
|
|
30 |
#define ECPU 8
|
|
31 |
#define ECPUArch 9
|
|
32 |
#define ECPUABI 10
|
|
33 |
#define ECPUSpeed 11
|
|
34 |
#define ESystemStartupReason 12
|
|
35 |
#define ESystemException 13
|
|
36 |
#define ESystemTickPeriod 14
|
|
37 |
#define EMemoryRAM 15
|
|
38 |
#define EMemoryRAMFree 16
|
|
39 |
#define EMemoryROM 17
|
|
40 |
#define EMemoryPageSize 18
|
|
41 |
#define EPowerGood 19
|
|
42 |
#define EPowerBatteryStatus 20
|
|
43 |
#define EPowerBackup 21
|
|
44 |
#define EPowerBackupStatus 22
|
|
45 |
#define EPowerExternal 23
|
|
46 |
#define EKeyboard 24
|
|
47 |
#define EKeyboardDeviceKeys 25
|
|
48 |
#define EKeyboardAppKeys 26
|
|
49 |
#define EKeyboardClick 27
|
|
50 |
#define EKeyboardClickState 28
|
|
51 |
#define EKeyboardClickVolume 29
|
|
52 |
#define EKeyboardClickVolumeMax 30
|
|
53 |
#define EDisplayXPixels 31
|
|
54 |
#define EDisplayYPixels 32
|
|
55 |
#define EDisplayXTwips 33
|
|
56 |
#define EDisplayYTwips 34
|
|
57 |
#define EDisplayColors 35
|
|
58 |
#define EDisplayState 36
|
|
59 |
#define EDisplayContrast 37
|
|
60 |
#define EDisplayContrastMax 38
|
|
61 |
#define EBacklight 39
|
|
62 |
#define EBacklightState 40
|
|
63 |
#define EPen 41
|
|
64 |
#define EPenX 42
|
|
65 |
#define EPenY 43
|
|
66 |
#define EPenDisplayOn 44
|
|
67 |
#define EPenClick 45
|
|
68 |
#define EPenClickState 46
|
|
69 |
#define EPenClickVolume 47
|
|
70 |
#define EPenClickVolumeMax 48
|
|
71 |
#define EMouse 49
|
|
72 |
#define EMouseX 50
|
|
73 |
#define EMouseY 51
|
|
74 |
#define EMouseState 52
|
|
75 |
#define EMouseSpeed 53
|
|
76 |
#define EMouseAcceleration 54
|
|
77 |
#define EMouseButtons 55
|
|
78 |
#define EMouseButtonState 56
|
|
79 |
#define ECaseState 57
|
|
80 |
#define ECaseSwitch 58
|
|
81 |
#define ECaseSwitchDisplayOn 59
|
|
82 |
#define ECaseSwitchDisplayOff 60
|
|
83 |
#define ELEDs 61
|
|
84 |
#define ELEDmask 62
|
|
85 |
#define EIntegratedPhone 63
|
|
86 |
#define EDisplayBrightness 64
|
|
87 |
#define EDisplayBrightnessMax 65
|
|
88 |
#define EKeyboardBacklightState 66
|
|
89 |
#define EAccessoryPower 67
|
|
90 |
#define ELanguageIndex 68
|
|
91 |
#define EKeyboardIndex 69
|
|
92 |
#define EMaxRAMDriveSize 70
|
|
93 |
#define EKeyboardState 71
|
|
94 |
#define ESystemDrive 72
|
|
95 |
#define EPenState 73
|
|
96 |
#define EDisplayIsMono 74
|
|
97 |
#define EDisplayIsPalettized 75
|
|
98 |
#define EDisplayBitsPerPixel 76
|
|
99 |
#define EDisplayNumModes 77
|
|
100 |
#define EDisplayMemoryAddress 78
|
|
101 |
#define EDisplayOffsetToFirstPixel 79
|
|
102 |
#define EDisplayOffsetBetweenLines 80
|
|
103 |
#define EDisplayPaletteEntry 81
|
|
104 |
#define EDisplayIsPixelOrderRGB 82
|
|
105 |
#define EDisplayIsPixelOrderLandscape 83
|
|
106 |
#define EDisplayMode 84
|
|
107 |
#define ESwitches 85
|
|
108 |
#define EDebugPort 86
|
|
109 |
#define ELocaleLoaded 87
|
|
110 |
#define EClipboardDrive 88
|
|
111 |
#define ECustomRestart 89
|
|
112 |
#define ECustomRestartReason 90
|
|
113 |
#define EDisplayNumberOfScreens 91
|
|
114 |
#define ENanoTickPeriod 92
|
|
115 |
#define EFastCounterFrequency 93
|
|
116 |
#define EFastCounterCountsUp 94
|
|
117 |
#define EPointer3D 95
|
|
118 |
#define EPointer3DZ 96
|
|
119 |
#define EPointer3DThetaSupported 97
|
|
120 |
#define EPointer3DPhiSupported 98
|
|
121 |
#define EPointer3DRotationSupported 99
|
|
122 |
#define EPointer3DPressureSupported 100
|
|
123 |
#define EHardwareFloatingPoint 101
|
|
124 |
#define ETimeNonSecureOffset 102
|
|
125 |
#define EPersistStartupModeKernel 103
|
|
126 |
#define EMaximumCustomRestartReasons 104
|
|
127 |
#define EMaximumRestartStartupModes 105
|
|
128 |
#define ECustomResourceDrive 106
|
|
129 |
#define EPointer3DProximityStep 107
|
|
130 |
#define EPointerMaxPointers 108
|
|
131 |
#define EPointerNumberOfPointers 109
|
|
132 |
#define EPointer3DMaxPressure 110
|
|
133 |
#define EPointer3DPressureStep 111
|
|
134 |
#define EPointer3DEnterHighPressureThreshold 112
|
|
135 |
#define EPointer3DExitHighPressureThreshold 113
|
|
136 |
#define EPointer3DEnterCloseProximityThreshold 114
|
|
137 |
#define EPointer3DExitCloseProximityThreshold 115
|
|
138 |
#define EDisplayMemoryHandle 116
|
|
139 |
#define ESerialNumber 117
|
|
140 |
#define ECpuProfilingDefaultInterruptBase 118
|
|
141 |
#define ENumCpus 119
|