summaryrefslogtreecommitdiff
path: root/emulators/simh/patches
diff options
context:
space:
mode:
authorabs <abs>2012-07-16 00:14:33 +0000
committerabs <abs>2012-07-16 00:14:33 +0000
commit90a90dabe03c4c24dda621c7974b37a4f8ba7a1d (patch)
tree299223f915c613f9c187abe6cd31f63fd4f1f8c4 /emulators/simh/patches
parent3cd9addbde491413dd1debf236b8e1a7a3e98652 (diff)
downloadpkgsrc-90a90dabe03c4c24dda621c7974b37a4f8ba7a1d.tar.gz
Relax granularity check to allow setting idle on a machine with HZ 100
Bump PKGREVISION
Diffstat (limited to 'emulators/simh/patches')
-rw-r--r--emulators/simh/patches/patch-sim__timer.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/simh/patches/patch-sim__timer.h b/emulators/simh/patches/patch-sim__timer.h
new file mode 100644
index 00000000000..53112b39e15
--- /dev/null
+++ b/emulators/simh/patches/patch-sim__timer.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-sim__timer.h,v 1.1 2012/07/16 00:14:33 abs Exp $
+
+Relax granularity check to allow setting idle on a machine with HZ 100
+
+--- sim_timer.h.orig 2008-11-21 20:06:34.000000000 +0000
++++ sim_timer.h
+@@ -35,7 +35,7 @@
+ #define SIM_TMAX 500 /* max timer makeup */
+
+ #define SIM_IDLE_CAL 10 /* ms to calibrate */
+-#define SIM_IDLE_MAX 10 /* max granularity idle */
++#define SIM_IDLE_MAX 20 /* max granularity idle */
+ #define SIM_IDLE_STMIN 10 /* min sec for stability */
+ #define SIM_IDLE_STDFLT 20 /* dft sec for stability */
+ #define SIM_IDLE_STMAX 600 /* max sec for stability */