Skip to content

Instantly share code, notes, and snippets.

@7shi
Created March 29, 2010 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 7shi/348108 to your computer and use it in GitHub Desktop.
Save 7shi/348108 to your computer and use it in GitHub Desktop.
--- hw/mc146818rtc.c.orig 2010-03-30 02:01:09.000000000 +0900
+++ hw/mc146818rtc.c 2010-03-30 02:01:28.000000000 +0900
@@ -587,7 +587,7 @@
isa_init_irq(dev, &s->irq, isairq);
s->cmos_data[RTC_REG_A] = 0x26;
- s->cmos_data[RTC_REG_B] = 0x02;
+ s->cmos_data[RTC_REG_B] = 0x02 | REG_B_DM;
s->cmos_data[RTC_REG_C] = 0x00;
s->cmos_data[RTC_REG_D] = 0x80;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment