[rtems-libbsd commit] Add hogticks

Joel Sherrill joel at rtems.org
Wed Apr 4 21:29:29 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    493efadb8b4961eb639cb12b4bab8fb5c6eb6d9f
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=493efadb8b4961eb639cb12b4bab8fb5c6eb6d9f

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Apr  4 16:31:31 2012 -0500

Add hogticks

---

 rtemsbsd/freebsd/machine/rtems-bsd-symbols.h |    1 +
 rtemsbsd/src/rtems-bsd-support.c             |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h b/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h
index 69dcafb..0fdfda5 100644
--- a/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h
+++ b/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h
@@ -266,6 +266,7 @@
 #define hid_locate _bsd_hid_locate
 #define hid_report_size _bsd_hid_report_size
 #define hid_start_parse _bsd_hid_start_parse
+#define hogticks _bsd_hogticks
 #define kernel_sysctl _bsd_kernel_sysctl
 #define kobj_class_compile _bsd_kobj_class_compile
 #define kobj_class_compile_static _bsd_kobj_class_compile_static
diff --git a/rtemsbsd/src/rtems-bsd-support.c b/rtemsbsd/src/rtems-bsd-support.c
index d6a63f5..4e4cb70 100644
--- a/rtemsbsd/src/rtems-bsd-support.c
+++ b/rtemsbsd/src/rtems-bsd-support.c
@@ -40,6 +40,7 @@ int     maxfiles = 7;                  /* XXX sys. wide open files limit */
 int     maxfilesperproc = 27;          /* XXX per-proc open files limit */
 int     cold = 1;                      /* XXX Wasn't sure where to put this */
 uintptr_t dpcpu_off[MAXCPU];
+int	hogticks = 2;                  /* hogticks = 2 * sched_quantum */
 
 int
 copyout(const void *kaddr, void *udaddr, size_t len)




More information about the vc mailing list