* For RSDP revision 0 or 1, we use the RSDT. * For RSDP revision 2 and above, we use the XSDT 
* Search for appropriate signature, RSDT or XSDT 
acpi_tb_validate_rsdt (	struct acpi_table_header        *table_ptr){	int                             no_match;	ACPI_FUNCTION_NAME ("tb_validate_rsdt");	/*	 * For RSDP revision 0 or 1, we use the RSDT.	 * For RSDP revision 2 and above, we use the XSDT	 */	if (acpi_gbl_RSDP->revision < 2) {		no_match = ACPI_STRNCMP ((char *) table_ptr, RSDT_SIG,				  sizeof (RSDT_SIG) -1);	}	else {		no_match = ACPI_STRNCMP ((char *) table_ptr, XSDT_SIG,				  sizeof (XSDT_SIG) -1);	}	if (no_match) {		/* Invalid RSDT or XSDT signature */		ACPI_REPORT_ERROR ((			"Invalid signature where RSDP indicates RSDT/XSDT should be located\n"));		ACPI_DUMP_BUFFER (acpi_gbl_RSDP, 20);		ACPI_DEBUG_PRINT_RAW ((ACPI_DB_ERROR,			"RSDT/XSDT signature at %X (%p) is invalid\n",			acpi_gbl_RSDP->rsdt_physical_address,			(void *) (acpi_native_uint) acpi_gbl_RSDP->rsdt_physical_address));		if (acpi_gbl_RSDP->revision < 2) {			ACPI_REPORT_ERROR (("Looking for RSDT (RSDP->Rev < 2)\n"))		}		else {			ACPI_REPORT_ERROR (("Looking for XSDT (RSDP->Rev >= 2)\n"))		}		ACPI_DUMP_BUFFER ((char *) table_ptr, 48);		return (AE_BAD_SIGNATURE);	}	return (AE_OK);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/73459f73e5d1602c59ebec114fc45185521353c1/tbrsdt.c/buggy/drivers/acpi/tables/tbrsdt.c