WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Print ACPI signature before overwr

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Print ACPI signature before overwriting it
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 05:50:51 -0700
Delivery-date: Mon, 11 Aug 2008 05:53:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1218419979 -32400
# Node ID b086089f46432fccbc3f9b928217cf3eae385ebf
# Parent  3f9d904d92c491f02d5f8ff6104efdabab10a384
[IA64] Print ACPI signature before overwriting it

We're printing out the ACPI table signature after we overwrite it
with "OEMx".  Let's print it out before so we know that the table was.
Also limit print to 4 chars so we don't get garbage output.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/dom_fw_dom0.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 3f9d904d92c4 -r b086089f4643 xen/arch/ia64/xen/dom_fw_dom0.c
--- a/xen/arch/ia64/xen/dom_fw_dom0.c   Fri Aug 08 11:38:21 2008 +0900
+++ b/xen/arch/ia64/xen/dom_fw_dom0.c   Mon Aug 11 10:59:39 2008 +0900
@@ -154,6 +154,8 @@ acpi_restore_tables()
 
 static int __init __acpi_table_disable(struct acpi_table_header *header)
 {
+       printk("Disabling ACPI table: %4.4s\n", header->signature);
+
        memcpy(header->oem_id, "xxxxxx", 6);
        memcpy(header->oem_id+1, header->signature, 4);
        memcpy(header->oem_table_id, "Xen     ", 8);
@@ -161,7 +163,6 @@ static int __init __acpi_table_disable(s
        header->checksum = 0;
        header->checksum = -acpi_tb_checksum((u8*)header, header->length);
 
-       printk("Successfully Disabling %s\n", header->signature);
        return 0;
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Print ACPI signature before overwriting it, Xen patchbot-unstable <=