68{
69
72
73
75
76
77
78
79 if (AcpiGbl_ReducedHardware)
80 {
82 }
83
84
85
86
87
88 if (!AcpiGbl_FADT.SmiCommand)
89 {
92 }
93
94
95
96
97
98
99
100
101 if (!AcpiGbl_FADT.AcpiEnable && !AcpiGbl_FADT.AcpiDisable)
102 {
104 "No ACPI mode transition supported in this system "
105 "(enable/disable both zero)"));
107 }
108
110 {
112
113
114
116 (
UINT32) AcpiGbl_FADT.AcpiEnable, 8);
118 break;
119
121
122
123
124
126 (
UINT32) AcpiGbl_FADT.AcpiDisable, 8);
128 "Attempting to enable Legacy (non-ACPI) mode\n"));
129 break;
130
131 default:
132
134 }
135
137 {
139 "Could not write ACPI mode change"));
141 }
142
143
144
145
146
149 {
151 {
153 "Mode %X successfully enabled\n",
Mode));
155 }
158 }
159
162}
#define AE_NO_HARDWARE_RESPONSE
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_EXCEPTION(plist)
#define return_ACPI_STATUS(s)
#define ACPI_ERROR(plist)
void AcpiOsStall(UINT32 Microseconds)
#define ACPI_USEC_PER_MSEC
_In_ PSCSI_REQUEST_BLOCK _Out_ NTSTATUS _Inout_ BOOLEAN * Retry
UINT32 AcpiHwGetMode(void)
ACPI_STATUS AcpiHwWritePort(ACPI_IO_ADDRESS Address, UINT32 Value, UINT32 Width)