Deleted Added
full compact
5c5
< * $Revision: 47 $
---
> * $Revision: 52 $
131a132,135
> /*
> * NOTE: this is here for lack of a better place. It is used in all
> * flavors of the debugger, need LCD file
> */
138,141c142
< /*
< * NOTE: this is here for lack of a better place. It is used in all
< * flavors of the debugger, need LCD file
< */
---
> ACPI_TABLE_HEADER *AcpiGbl_DbTablePtr = NULL;
142a144
>
272c274
< UINT8 *AmlPtr;
---
> UINT8 *AmlStart;
312c314
< *TablePtr = ACPI_MEM_ALLOCATE ((size_t) *TableLength);
---
> *TablePtr = AcpiOsAllocate ((size_t) *TableLength);
321,322c323,324
< AmlPtr = (UINT8 *) *TablePtr + sizeof (TableHeader);
< AmlLength = *TableLength - sizeof (TableHeader);
---
> AmlStart = (UINT8 *) *TablePtr + sizeof (TableHeader);
> AmlLength = *TableLength - sizeof (TableHeader);
330c332
< Actual = fread (AmlPtr, 1, (size_t) AmlLength, fp);
---
> Actual = fread (AmlStart, 1, (size_t) AmlLength, fp);
339c341
< return (AE_OK);
---
> return (AE_OK);
344c346
< ACPI_MEM_FREE (*TablePtr);
---
> AcpiOsFree (*TablePtr);
406c408
< AcpiTbUninstallTable (TableInfo.InstalledDesc);
---
> AcpiTbDeleteAcpiTable (ACPI_TABLE_DSDT);
434d435
< ACPI_TABLE_HEADER *TablePtr;
451c452
< Status = AcpiDbLoadTable (fp, &TablePtr, &TableLength);
---
> Status = AcpiDbLoadTable (fp, &AcpiGbl_DbTablePtr, &TableLength);
460d460
<
462d461
< Status = AeLocalLoadTable (TablePtr);
463a463
> Status = AeLocalLoadTable (AcpiGbl_DbTablePtr);
469c469
< &TablePtr->Signature);
---
> &AcpiGbl_DbTablePtr->Signature);
471d470
<
478c477
< ACPI_MEM_FREE (TablePtr);
---
> ACPI_MEM_FREE (AcpiGbl_DbTablePtr);
483c482
< &TablePtr->Signature, TablePtr);
---
> &AcpiGbl_DbTablePtr->Signature, AcpiGbl_DbTablePtr);