Lines Matching refs:MappedTable

251     ACPI_TABLE_HEADER       *MappedTable;  in AcpiOsGetTableByAddress()  local
267 Status = OslMapTable (Address, NULL, &MappedTable); in AcpiOsGetTableByAddress()
275 LocalTable = calloc (1, MappedTable->Length); in AcpiOsGetTableByAddress()
278 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in AcpiOsGetTableByAddress()
282 memcpy (LocalTable, MappedTable, MappedTable->Length); in AcpiOsGetTableByAddress()
283 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in AcpiOsGetTableByAddress()
490 ACPI_TABLE_HEADER *MappedTable; in OslTableInitialize() local
566 ACPI_SIG_XSDT, &MappedTable); in OslTableInitialize()
573 Gbl_Xsdt = calloc (1, MappedTable->Length); in OslTableInitialize()
578 MappedTable->Length); in OslTableInitialize()
579 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslTableInitialize()
583 memcpy (Gbl_Xsdt, MappedTable, MappedTable->Length); in OslTableInitialize()
584 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslTableInitialize()
592 ACPI_SIG_RSDT, &MappedTable); in OslTableInitialize()
598 Gbl_Rsdt = calloc (1, MappedTable->Length); in OslTableInitialize()
603 MappedTable->Length); in OslTableInitialize()
604 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslTableInitialize()
608 memcpy (Gbl_Rsdt, MappedTable, MappedTable->Length); in OslTableInitialize()
609 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslTableInitialize()
629 Status = OslMapTable (Gbl_FadtAddress, ACPI_SIG_FADT, &MappedTable); in OslTableInitialize()
635 Gbl_Fadt = calloc (1, MappedTable->Length); in OslTableInitialize()
640 MappedTable->Length); in OslTableInitialize()
641 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslTableInitialize()
645 memcpy (Gbl_Fadt, MappedTable, MappedTable->Length); in OslTableInitialize()
646 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslTableInitialize()
681 ACPI_TABLE_HEADER *MappedTable = NULL; in OslGetTableViaRoot() local
754 MappedTable = AcpiOsMapMemory (TableAddress, sizeof (*MappedTable)); in OslGetTableViaRoot()
755 if (!MappedTable) in OslGetTableViaRoot()
762 if (ACPI_COMPARE_NAMESEG (MappedTable->Signature, Signature)) in OslGetTableViaRoot()
769 AcpiOsUnmapMemory (MappedTable, sizeof (*MappedTable)); in OslGetTableViaRoot()
776 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslGetTableViaRoot()
792 Status = OslMapTable (TableAddress, Signature, &MappedTable); in OslGetTableViaRoot()
800 LocalTable = calloc (1, MappedTable->Length); in OslGetTableViaRoot()
803 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslGetTableViaRoot()
807 memcpy (LocalTable, MappedTable, MappedTable->Length); in OslGetTableViaRoot()
808 AcpiOsUnmapMemory (MappedTable, MappedTable->Length); in OslGetTableViaRoot()
974 ACPI_TABLE_HEADER *MappedTable; in OslMapTable() local
980 MappedTable = AcpiOsMapMemory (Address, sizeof (*MappedTable)); in OslMapTable()
981 if (!MappedTable) in OslMapTable()
988 if (!ApIsValidHeader (MappedTable)) in OslMapTable()
990 AcpiOsUnmapMemory (MappedTable, sizeof (*MappedTable)); in OslMapTable()
997 !ACPI_COMPARE_NAMESEG (Signature, MappedTable->Signature)) in OslMapTable()
999 AcpiOsUnmapMemory (MappedTable, sizeof (*MappedTable)); in OslMapTable()
1005 Length = MappedTable->Length; in OslMapTable()
1006 AcpiOsUnmapMemory (MappedTable, sizeof (*MappedTable)); in OslMapTable()
1008 MappedTable = AcpiOsMapMemory (Address, Length); in OslMapTable()
1009 if (!MappedTable) in OslMapTable()
1014 (void) ApIsValidChecksum (MappedTable); in OslMapTable()
1016 *Table = MappedTable; in OslMapTable()