Skip to content

Commit

Permalink
hw/alpha: Use SRM epoch
Browse files Browse the repository at this point in the history
The 1980 epoch is used by the ARC PALcode for NT.  But we're emulating
a system using the SRM PALcode.  Using the proper epoch results in less
confusion in the guest userland.

Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
rth7680 committed Jul 14, 2013
1 parent 6784216 commit e605e96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hw/alpha/dp264.c
Expand Up @@ -73,7 +73,9 @@ static void clipper_init(QEMUMachineInitArgs *args)
pci_bus = typhoon_init(ram_size, &isa_bus, &rtc_irq, cpus,
clipper_pci_map_irq);

rtc_init(isa_bus, 1980, rtc_irq);
/* Since we have an SRM-compatible PALcode, use the SRM epoch. */
rtc_init(isa_bus, 1900, rtc_irq);

pit_init(isa_bus, 0x40, 0, NULL);
isa_create_simple(isa_bus, "i8042");

Expand Down

0 comments on commit e605e96

Please sign in to comment.