Displaying 3 results from an estimated 3 matches for "system_reset_count".
Did you mean:
system_reset_counter
2012 Mar 27
0
[PATCH 1/4] x86/hpet: disable before reboot or kexec
..._rate, hpet_period);
@@ -740,24 +745,29 @@ u64 __init hpet_setup(void)
return hpet_rate;
}
-void hpet_resume(void)
+void hpet_resume(u32 *boot_cfg)
{
static u32 system_reset_latch;
u32 hpet_id, cfg;
- unsigned int i;
+ unsigned int i, last;
if ( system_reset_latch == system_reset_counter )
return;
system_reset_latch = system_reset_counter;
cfg = hpet_read32(HPET_CFG);
+ if ( boot_cfg )
+ *boot_cfg = cfg;
cfg &= ~(HPET_CFG_ENABLE | HPET_CFG_LEGACY);
hpet_write32(cfg, HPET_CFG);
hpet_id = hpet_read32(HPET_ID);
- for ( i = 0; i...
2008 Nov 27
0
[PATCH] x86, hpet: check hpet existence
...or can be seen.
Signed-off-by Kevin 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
2009 Aug 28
0
[PATCH] properly __initdata-annotate command line option string buffers
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 2009-08-18.orig/xen/arch/x86/acpi/power.c 2009-03-24 09:04:02.000000000 +0100
+++ 2009-08-18/xen/arch/x86/acpi/power.c 2009-08-24 17:46:05.000000000 +0200
@@ -32,7 +32,7 @@
uint32_t system_reset_counter = 1;
-static char opt_acpi_sleep[20];
+static char __initdata opt_acpi_sleep[20];
string_param("acpi_sleep", opt_acpi_sleep);
static u8 sleep_states[ACPI_S_STATE_COUNT];
--- 2009-08-18.orig/xen/arch/x86/domain_build.c 2009-08-21 17:38:51.000000000 +0200
+++ 2009-08-18/xen/arch/x86...