From owner-p4-projects Wed Jul 3 18: 5:41 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1846537B405; Wed, 3 Jul 2002 18:05:34 -0700 (PDT) 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 7EDD937B405 for ; Wed, 3 Jul 2002 18:05:33 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 432C943E09 for ; Wed, 3 Jul 2002 18:05:33 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6415XJU006594 for ; Wed, 3 Jul 2002 18:05:33 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6415WgJ006586 for perforce@freebsd.org; Wed, 3 Jul 2002 18:05:32 -0700 (PDT) Date: Wed, 3 Jul 2002 18:05:32 -0700 (PDT) Message-Id: <200207040105.g6415WgJ006586@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 13779 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://people.freebsd.org/~peter/p4db/chv.cgi?CH=13779 Change 13779 by peter@peter_ia64 on 2002/07/03 18:04:56 Note: accessing physical addresses instead of mapped addresses is bad. This should not have worked on the Itanium SDV either, but probably did due to a stray TC entry or something. This is necessary to work on the Itanium2 box I have. Affected files ... .. //depot/projects/ia64/sys/ia64/ia64/efi.c#3 edit Differences ... ==== //depot/projects/ia64/sys/ia64/ia64/efi.c#3 (text+ko) ==== @@ -133,7 +133,8 @@ static EFI_GUID acpi = ACPI_TABLE_GUID; static EFI_GUID acpi20 = ACPI_20_TABLE_GUID; if (!memcmp(&conf[i].VendorGuid, &sal, sizeof(EFI_GUID))) - saltab = conf[i].VendorTable; + saltab = (struct sal_system_table *) + IA64_PHYS_TO_RR7((u_int64_t) conf[i].VendorTable); if (!memcmp(&conf[i].VendorGuid, &acpi, sizeof(EFI_GUID))) ia64_efi_acpi_table = (u_int64_t) conf[i].VendorTable; if (!memcmp(&conf[i].VendorGuid, &acpi20, sizeof(EFI_GUID))) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message