aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-06 18:31:02 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-06 18:31:02 +0000
commit399874b1dee8161a195e416f41301f103603ecbf (patch)
tree1f4e0001c8b339f3e1e679d88803482308eed04e /tools
parent50b12df836fddc9d76f59a23d35a801d43cfef31 (diff)
downloadxen-399874b1dee8161a195e416f41301f103603ecbf.tar.gz
xen-399874b1dee8161a195e416f41301f103603ecbf.tar.bz2
xen-399874b1dee8161a195e416f41301f103603ecbf.zip
hvmloader: Remove dead function check_amd().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware/hvmloader/hvmloader.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/firmware/hvmloader/hvmloader.c b/tools/firmware/hvmloader/hvmloader.c
index b59120dd03..243f7e9b46 100644
--- a/tools/firmware/hvmloader/hvmloader.c
+++ b/tools/firmware/hvmloader/hvmloader.c
@@ -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)
{