Displaying 3 results from an estimated 3 matches for "hpet_address".
Did you mean:
get_address
2008 Nov 27
0
[PATCH] x86, hpet: check hpet existence
...n Tian <kevin.tian@intel.com>
diff -r ab0c1bdede53 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
2012 Mar 27
0
[PATCH 1/4] x86/hpet: disable before reboot or kexec
...t init_hpet(struct platf
static void resume_hpet(struct platform_timesource *pts)
{
- hpet_resume();
+ hpet_resume(NULL);
}
static struct platform_timesource __initdata plt_hpet =
--- a/xen/include/asm-x86/hpet.h
+++ b/xen/include/asm-x86/hpet.h
@@ -55,7 +55,12 @@ extern unsigned long hpet_address;
* Return value is zero if HPET is unavailable.
*/
u64 hpet_setup(void);
-void hpet_resume(void);
+void hpet_resume(u32 *);
+
+/*
+ * Disable HPET hardware: restore it to boot time state.
+ */
+void hpet_disable(void);
/*
* Callback from legacy timer (PIT channel 0) IRQ handler.
_____...
2008 Nov 13
69
[PATCH 00 of 38] xen: add more Xen dom0 support
Hi Ingo,
Here''s the chunk of patches to add Xen Dom0 support (it''s probably
worth creating a new xen/dom0 topic branch for it).
A dom0 Xen domain is basically the same as a normal domU domain, but
it has extra privileges to directly access hardware. There are two
issues to deal with:
- translating to and from the domain''s pseudo-physical addresses and
real machine