qemu-patch-raspberry4/hw/timer
hangaohuai bf7bb91e3c bugfix: vm halt when in reset looping
reset mc146818rtc device when RESET event happens.

Fix the problem:
  1. Guest boot the second cpu, set CMOS_RESET_CODE 0x0a to protect selfboot;
  2. VM being reset by others, hmp_system_reset;
  3. seabios resume check the CMOS_RESET_CODE, if 0x0a, jump to the BDA
     resume execution by jump via 40h:0067h;
  4. Guest halt;

Signed-off-by: hangaohuai <hangaohuai@huawei.com>
Message-Id: <20161219060336.10176-1-hangaohuai@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-16 17:52:34 +01:00
..
a9gtimer.c timer: a9gtimer: remove loop to auto-increment comparator 2016-10-24 16:26:54 +01:00
allwinner-a10-pit.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
arm_mptimer.c arm_mptimer: Convert to use ptimer 2016-10-24 16:26:53 +01:00
arm_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
aspeed_timer.c hw/timer: Add value matching support to aspeed_timer 2016-06-17 15:23:51 +01:00
cadence_ttc.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
digic-timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
ds1338.c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
etraxfs_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
exynos4210_mct.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
exynos4210_pwm.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
exynos4210_rtc.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
grlib_gptimer.c clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
hpet.c hw/timer: Revert "hpet: inverse polarity when pin above ISA_NUM_IRQS" 2016-04-08 00:07:43 +02:00
i8254.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
i8254_common.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
imx_epit.c imx: Use 'const char', not 'char const' 2016-09-22 18:13:09 +01:00
imx_gpt.c imx: Use 'const char', not 'char const' 2016-09-22 18:13:09 +01:00
lm32_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
m48t59.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
Makefile.objs hw/mips: implement GIC Interval Timer 2016-07-12 09:10:09 +01:00
mc146818rtc.c bugfix: vm halt when in reset looping 2017-01-16 17:52:34 +01:00
milkymist-sysctl.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
mips_gictimer.c hw/mips: implement GIC Interval Timer 2016-07-12 09:10:09 +01:00
omap_gptimer.c The only 64bit parameter of muldiv64() is the first one. 2016-06-07 18:02:49 +03:00
omap_synctimer.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
pl031.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
puv3_ost.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
pxa2xx_timer.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
sh_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
slavio_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
stm32f2xx_timer.c timer: stm32f2xx_timer: add check for prescaler value 2016-10-24 16:26:55 +01:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
twl92230.c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
xilinx_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00