Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

デバイス供給クロックがタイマ分周に合わない場合、実時間同期機能が正しく動かない問題を修正。 #48

Merged
merged 1 commit into from
Jun 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/cpuemu.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ void *cpuemu_thread_run(void* arg)
is_halt = do_cpu_run(core_id_num);

if (enable_skip == TRUE) {
if ((is_halt == TRUE) && (cpuemu_dev_clock.can_skip_clock == TRUE)) {
if ((is_halt == TRUE) && (cpuemu_dev_clock.can_skip_clock == TRUE) && (cpuemu_dev_clock.min_intr_interval != DEVICE_CLOCK_MAX_INTERVAL)) {
#ifdef OS_LINUX
uint64 skipc_usec = 0;
if (enable_dbg.enable_sync_time > 0) {
Expand Down