1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

Cleanup compiler warnings on Solaris and newer OSX clang compilers.

Add Large File support on Solaris
This commit is contained in:
Mark Pizzolato
2013-03-13 20:29:03 -07:00
parent f179ba6ae2
commit 9bd8305943
5 changed files with 6 additions and 4 deletions

View File

@@ -625,7 +625,7 @@ if (delta_rtime > 30000) { /* gap too big? */
return rtc_initd[tmr]; /* can't calibr */
}
new_gtime = sim_gtime();
if (sim_asynch_enabled && sim_asynch_timer)
if (sim_asynch_enabled && sim_asynch_timer) {
if (rtc_elapsed[tmr] > sim_idle_stable) {
/* An asynchronous clock, merely needs to divide the number of */
/* instructions actually executed by the clock rate. */
@@ -650,6 +650,7 @@ if (sim_asynch_enabled && sim_asynch_timer)
sim_debug (DBG_CAL, &sim_timer_dev, "asynch not stable calibration result: %d\n", rtc_initd[tmr]);
return rtc_initd[tmr]; /* initial result until stable */
}
}
rtc_gtime[tmr] = new_gtime; /* save instruction time */
/* This self regulating algorithm depends directly on the assumption */
/* that this routine is called back after processing the number of */