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] hvmloader: Remove dead function check_amd

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvmloader: Remove dead function check_amd().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 07 Feb 2008 11:00:16 -0800
Delivery-date: Thu, 07 Feb 2008 11:00:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202322662 0
# Node ID b280ee89dcdcccd85c81c7c678f835de3ea65c33
# Parent  9d0e86d8c1d1360be64921928ae98b3693adfc73
hvmloader: Remove dead function check_amd().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/firmware/hvmloader/hvmloader.c |   14 --------------
 1 files changed, 14 deletions(-)

diff -r 9d0e86d8c1d1 -r b280ee89dcdc tools/firmware/hvmloader/hvmloader.c
--- a/tools/firmware/hvmloader/hvmloader.c      Wed Feb 06 12:07:55 2008 +0000
+++ b/tools/firmware/hvmloader/hvmloader.c      Wed Feb 06 18:31:02 2008 +0000
@@ -107,20 +107,6 @@ cirrus_check(void)
     return inb(0x3C5) == 0x12;
 }
 
-static int
-check_amd(void)
-{
-    char id[12];
-
-    __asm__ __volatile__ (
-        "cpuid" 
-        : "=b" (*(int *)(&id[0])),
-        "=c" (*(int *)(&id[8])),
-        "=d" (*(int *)(&id[4]))
-        : "a" (0) );
-    return __builtin_memcmp(id, "AuthenticAMD", 12) == 0;
-}
-
 static void
 wrmsr(uint32_t idx, uint64_t v)
 {

_______________________________________________
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] hvmloader: Remove dead function check_amd()., Xen patchbot-unstable <=