69{
76
77
79
80
83
84
85
89 {
91 }
92
93
94
97 {
99 }
102 {
104 }
105 AcpiGbl_SystemAwakeAndRunning =
FALSE;
106
107
108
111 {
113 }
114
115
116
118 &Pm1aControl);
120 {
122 }
124 "Entering sleep state [S%u]\n", SleepState));
125
126
127
130 Pm1bControl = Pm1aControl;
131
132
133
134 Pm1aControl |= (AcpiGbl_SleepTypeA << SleepTypeRegInfo->
BitPosition);
135 Pm1bControl |= (AcpiGbl_SleepTypeB << SleepTypeRegInfo->
BitPosition);
136
137
138
139
140
141
142
143
146 {
148 }
149
150
151
154
155
156
158 {
160 }
161
164 {
166 }
168 {
170 }
171
172
173
176 {
178 }
179
181 {
182
183
184
185
186
187
188
189
190
191
192
194
198 {
200 }
201 }
202
203
204
205 do
206 {
209 {
211 }
212
213 } while (!InValue);
214
216}
#define ACPI_FLUSH_CPU_CACHE()
#define AE_CTRL_TERMINATE
#define ACPI_REGISTER_PM1_CONTROL
#define ACPI_DEBUG_PRINT(pl)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
ACPI_STATUS AcpiOsEnterSleep(UINT8 SleepState, UINT32 RegaValue, UINT32 RegbValue)
void AcpiOsStall(UINT32 Microseconds)
#define ACPI_CLEAR_STATUS
#define ACPI_USEC_PER_SEC
#define ACPI_BITREG_SLEEP_ENABLE
#define ACPI_BITREG_SLEEP_TYPE
#define ACPI_BITREG_WAKE_STATUS
ACPI_STATUS AcpiHwEnableAllWakeupGpes(void)
ACPI_STATUS AcpiHwDisableAllGpes(void)
ACPI_STATUS AcpiHwWritePm1Control(UINT32 Pm1aControl, UINT32 Pm1bControl)
ACPI_STATUS AcpiHwClearAcpiStatus(void)
ACPI_STATUS AcpiHwRegisterRead(UINT32 RegisterId, UINT32 *ReturnValue)
ACPI_STATUS AcpiHwRegisterWrite(UINT32 RegisterId, UINT32 Value)
ACPI_BIT_REGISTER_INFO * AcpiHwGetBitRegisterInfo(UINT32 RegisterId)
ACPI_STATUS AcpiWriteBitRegister(UINT32 RegisterId, UINT32 Value)
ACPI_STATUS AcpiReadBitRegister(UINT32 RegisterId, UINT32 *ReturnValue)