From owner-p4-projects Tue Dec 3 14:40:19 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9262E37B406; Tue, 3 Dec 2002 14:40:17 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D1F337B404 for ; Tue, 3 Dec 2002 14:40:17 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA18043ECF for ; Tue, 3 Dec 2002 14:40:16 -0800 (PST) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gB3Ma5mV083144 for ; Tue, 3 Dec 2002 14:36:05 -0800 (PST) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gB3Ma44J083139 for perforce@freebsd.org; Tue, 3 Dec 2002 14:36:04 -0800 (PST) Date: Tue, 3 Dec 2002 14:36:04 -0800 (PST) Message-Id: <200212032236.gB3Ma44J083139@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 21883 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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