File tree Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ add_library(acpica
121
121
acpica/utilities/uttrack.c
122
122
acpica/utilities/utxface.c )
123
123
124
- set_target_properties (acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE" )
125
124
add_dependencies (acpica bugcodes )
126
125
127
126
add_library (acpi SHARED
Original file line number Diff line number Diff line change 1
1
<?xml version = "1.0" ?>
2
2
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd" >
3
3
<module name = "acpica" type = "staticlibrary" allowwarnings = "true" >
4
- <define name = "ACPI_USE_LOCAL_CACHE" />
5
4
<include base = "acpica" >include </include>
6
5
<directory name="dispatcher">
7
6
<file>dsfield.c</file >
Original file line number Diff line number Diff line change @@ -149,19 +149,6 @@ AcpiOsFree(void *ptr)
149
149
150
150
#ifndef ACPI_USE_LOCAL_CACHE
151
151
152
- void *
153
- AcpiOsAcquireObjectHelper (
154
- POOL_TYPE PoolType ,
155
- SIZE_T NumberOfBytes ,
156
- ULONG Tag )
157
- {
158
- void * Alloc = ExAllocatePool (PoolType , NumberOfBytes );
159
-
160
- /* acpica expects memory allocated from cache to be zeroed */
161
- RtlZeroMemory (Alloc ,NumberOfBytes );
162
- return Alloc ;
163
- }
164
-
165
152
ACPI_STATUS
166
153
AcpiOsCreateCache (
167
154
char * CacheName ,
@@ -173,7 +160,7 @@ AcpiOsCreateCache (
173
160
ExAllocatePool (NonPagedPool ,sizeof (NPAGED_LOOKASIDE_LIST ));
174
161
175
162
ExInitializeNPagedLookasideList (Lookaside ,
176
- ( PALLOCATE_FUNCTION ) AcpiOsAcquireObjectHelper , // custom memory allocator
163
+ NULL ,
177
164
NULL ,
178
165
0 ,
179
166
ObjectSize ,
@@ -283,7 +270,7 @@ AcpiOsInstallInterruptHandler (
283
270
Internal ,
284
271
0 ,
285
272
InterruptNumber ,
286
- 0 ,
273
+ InterruptNumber ,
287
274
& DIrql ,
288
275
& Affinity );
289
276
You can’t perform that action at this time.
0 commit comments