Date: Tue, 3 Dec 2002 14:36:04 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21883 for review Message-ID: <200212032236.gB3Ma44J083139@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21883 Change 21883 by peter@peter_itanic2 on 2002/12/03 14:35:05 report all the system tables, rather than stopping at the acpi one. Affected files ... .. //depot/projects/ia64/sys/ia64/acpica/madt.c#11 edit Differences ... ==== //depot/projects/ia64/sys/ia64/acpica/madt.c#11 (text+ko) ==== @@ -241,7 +241,7 @@ RSDP_DESCRIPTOR *rsdp; XSDT_DESCRIPTOR *xsdt; ACPI_TABLE_HEADER *table; - int i, count; + int i, count, ret; if (AcpiOsGetRootPointer(ACPI_LOGICAL_ADDRESSING, &rsdp_ptr) != AE_OK) return 0; @@ -251,6 +251,7 @@ count = (UINT64 *)((char *)xsdt + xsdt->Header.Length) - xsdt->TableOffsetEntry; + ret = 0; for (i = 0; i < count; i++) { table = (ACPI_TABLE_HEADER *) IA64_PHYS_TO_RR7(xsdt->TableOffsetEntry[i]); @@ -260,10 +261,10 @@ table->Signature[1], table->Signature[2], table->Signature[3], table); - if (!strncmp(table->Signature, APIC_SIG, 4)) - return (parse_madt((APIC_TABLE *) table, countcpus)); + if (!strncmp(table->Signature, APIC_SIG, 4) && ret == 0) + ret = parse_madt((APIC_TABLE *) table, countcpus); } - return (0); + return (ret); } void To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212032236.gB3Ma44J083139>