提交 067f0691 编写于 作者: G Gerd Hoffmann

m48t59-test: don't touch watchdog

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 4e45deed
......@@ -233,6 +233,11 @@ static void fuzz_registers(void)
reg = (uint8_t)g_test_rand_int_range(0, 16);
val = (uint8_t)g_test_rand_int_range(0, 256);
if (reg == 7) {
/* watchdog setup register, may trigger system reset, skip */
continue;
}
cmos_write(reg, val);
cmos_read(reg);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册