diff options
author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-11-27 18:07:48 +0000 |
---|---|---|
committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-11-27 18:07:48 +0000 |
commit | 716b1ee2b9d274c7ba5a0e0ae2085d021428c1b6 (patch) | |
tree | 89c585f017c40c50fe733a43a36a8a10779f75f5 /sys/contrib/dev/acpica/tbconvrt.c | |
parent | 07a5b5c0b66337aa6ba31dce1d71807775b8afd8 (diff) |
Vendor import of the Intel ACPI CA 20021118 drop.
Approved by: re
Notes
Notes:
svn path=/vendor-sys/acpica/dist/; revision=107325
Diffstat (limited to 'sys/contrib/dev/acpica/tbconvrt.c')
-rw-r--r-- | sys/contrib/dev/acpica/tbconvrt.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/sys/contrib/dev/acpica/tbconvrt.c b/sys/contrib/dev/acpica/tbconvrt.c index 14d33e46f097..0490767f7990 100644 --- a/sys/contrib/dev/acpica/tbconvrt.c +++ b/sys/contrib/dev/acpica/tbconvrt.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: tbconvrt - ACPI Table conversion utilities - * $Revision: 43 $ + * $Revision: 45 $ * *****************************************************************************/ @@ -128,11 +128,13 @@ * * FUNCTION: AcpiTbGetTableCount * - * PARAMETERS: + * PARAMETERS: RSDP - Pointer to the RSDP + * RSDT - Pointer to the RSDT/XSDT * - * RETURN: + * RETURN: The number of tables pointed to by the RSDT or XSDT. * - * DESCRIPTION: Calculate the number of tables + * DESCRIPTION: Calculate the number of tables. Automatically handles either + * an RSDT or XSDT. * ******************************************************************************/ @@ -173,9 +175,9 @@ AcpiTbGetTableCount ( * * FUNCTION: AcpiTbConvertToXsdt * - * PARAMETERS: + * PARAMETERS: TableInfo - Info about the RSDT * - * RETURN: + * RETURN: Status * * DESCRIPTION: Convert an RSDT to an XSDT (internal common format) * @@ -234,7 +236,6 @@ AcpiTbConvertToXsdt ( /* Point the table descriptor to the new table */ TableInfo->Pointer = (ACPI_TABLE_HEADER *) NewTable; - TableInfo->BasePointer = (ACPI_TABLE_HEADER *) NewTable; TableInfo->Length = TableSize; TableInfo->Allocation = ACPI_MEM_ALLOCATED; @@ -419,13 +420,11 @@ AcpiTbConvertFadt2 ( * * RETURN: Status * - * DESCRIPTION: - * Converts a BIOS supplied ACPI 1.0 FADT to an intermediate - * ACPI 2.0 FADT. If the BIOS supplied a 2.0 FADT then it is simply - * copied to the intermediate FADT. The ACPI CA software uses this - * intermediate FADT. Thus a significant amount of special #ifdef - * type codeing is saved. This intermediate FADT will need to be - * freed at some point. + * DESCRIPTION: Converts a BIOS supplied ACPI 1.0 FADT to a local + * ACPI 2.0 FADT. If the BIOS supplied a 2.0 FADT then it is simply + * copied to the local FADT. The ACPI CA software uses this + * local FADT. Thus a significant amount of special #ifdef + * type codeing is saved. * ******************************************************************************/ @@ -498,7 +497,6 @@ AcpiTbConvertTableFadt (void) /* Install the new table */ TableDesc->Pointer = (ACPI_TABLE_HEADER *) AcpiGbl_FADT; - TableDesc->BasePointer = AcpiGbl_FADT; TableDesc->Allocation = ACPI_MEM_ALLOCATED; TableDesc->Length = sizeof (FADT_DESCRIPTOR_REV2); |