Deleted Added
full compact
aslmapenter.c (278970) aslmapenter.c (281396)
1/******************************************************************************
2 *
3 * Module Name: aslmapenter - Build resource descriptor/device maps
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2015, Intel Corp.

--- 202 unchanged lines hidden (view full) ---

211static ACPI_GPIO_INFO *
212MpCreateGpioInfo (
213 UINT16 PinNumber,
214 char *DeviceName)
215{
216 ACPI_GPIO_INFO *Info;
217 ACPI_GPIO_INFO *NextGpio;
218 ACPI_GPIO_INFO *PrevGpio;
1/******************************************************************************
2 *
3 * Module Name: aslmapenter - Build resource descriptor/device maps
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2015, Intel Corp.

--- 202 unchanged lines hidden (view full) ---

211static ACPI_GPIO_INFO *
212MpCreateGpioInfo (
213 UINT16 PinNumber,
214 char *DeviceName)
215{
216 ACPI_GPIO_INFO *Info;
217 ACPI_GPIO_INFO *NextGpio;
218 ACPI_GPIO_INFO *PrevGpio;
219 char *Buffer;
219
220
221 /*
222 * Allocate a new info block and insert it into the global GPIO list
223 * sorted by both source device name and then the pin number. There is
224 * one block per pin.
225 */
220
221
222 /*
223 * Allocate a new info block and insert it into the global GPIO list
224 * sorted by both source device name and then the pin number. There is
225 * one block per pin.
226 */
226 Info = ACPI_CAST_PTR (ACPI_GPIO_INFO,
227 UtStringCacheCalloc (sizeof (ACPI_GPIO_INFO)));
227 Buffer = UtStringCacheCalloc (sizeof (ACPI_GPIO_INFO));
228 Info = ACPI_CAST_PTR (ACPI_GPIO_INFO, Buffer);
228
229 NextGpio = Gbl_GpioList;
230 PrevGpio = NULL;
231 if (!Gbl_GpioList)
232 {
233 Gbl_GpioList = Info;
234 Info->Next = NULL;
235 return (Info);

--- 52 unchanged lines hidden (view full) ---

288static ACPI_SERIAL_INFO *
289MpCreateSerialInfo (
290 char *DeviceName,
291 UINT16 Address)
292{
293 ACPI_SERIAL_INFO *Info;
294 ACPI_SERIAL_INFO *NextSerial;
295 ACPI_SERIAL_INFO *PrevSerial;
229
230 NextGpio = Gbl_GpioList;
231 PrevGpio = NULL;
232 if (!Gbl_GpioList)
233 {
234 Gbl_GpioList = Info;
235 Info->Next = NULL;
236 return (Info);

--- 52 unchanged lines hidden (view full) ---

289static ACPI_SERIAL_INFO *
290MpCreateSerialInfo (
291 char *DeviceName,
292 UINT16 Address)
293{
294 ACPI_SERIAL_INFO *Info;
295 ACPI_SERIAL_INFO *NextSerial;
296 ACPI_SERIAL_INFO *PrevSerial;
297 char *Buffer;
296
297
298 /*
299 * Allocate a new info block and insert it into the global Serial list
300 * sorted by both source device name and then the address.
301 */
298
299
300 /*
301 * Allocate a new info block and insert it into the global Serial list
302 * sorted by both source device name and then the address.
303 */
302 Info = ACPI_CAST_PTR (ACPI_SERIAL_INFO,
303 UtStringCacheCalloc (sizeof (ACPI_SERIAL_INFO)));
304 Buffer = UtStringCacheCalloc (sizeof (ACPI_SERIAL_INFO));
305 Info = ACPI_CAST_PTR (ACPI_SERIAL_INFO, Buffer);
304
305 NextSerial = Gbl_SerialList;
306 PrevSerial = NULL;
307 if (!Gbl_SerialList)
308 {
309 Gbl_SerialList = Info;
310 Info->Next = NULL;
311 return (Info);

--- 35 unchanged lines hidden ---
306
307 NextSerial = Gbl_SerialList;
308 PrevSerial = NULL;
309 if (!Gbl_SerialList)
310 {
311 Gbl_SerialList = Info;
312 Info->Next = NULL;
313 return (Info);

--- 35 unchanged lines hidden ---