Displaying 1 result from an estimated 1 matches for "fix_hpet_base".
2008 Nov 27
0
[PATCH] x86, hpet: check hpet existence
...xen/arch/x86/hpet.c
--- a/xen/arch/x86/hpet.c Wed Nov 26 11:14:26 2008 +0000
+++ b/xen/arch/x86/hpet.c Wed Nov 26 19:22:03 2008 -0500
@@ -273,6 +273,8 @@
return hpet_rate;
system_reset_latch = system_reset_counter;
+ if ( !hpet_address )
+ return 0;
set_fixmap_nocache(FIX_HPET_BASE, hpet_address);
hpet_id = hpet_read32(HPET_ID);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel