summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-04 14:32:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-17 09:12:06 +0200
commita85d90007eaf6756eda00af1a9d0d15621b52eec (patch)
treeef1fd991511bcfd32bda1025b2a954a8b16f04c8 /rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
parentRemove struct callout::c_cpu (diff)
downloadrtems-libbsd-a85d90007eaf6756eda00af1a9d0d15621b52eec.tar.bz2
Optimize callout handline via static timer wheel
The number of callouts is a compile-time constant in libbsd. Use this in struct callout_cpu and avoid dynamic allocation of tables. This signficantly reduces the count of load instructions in the callout handling.
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
index 3c0b8daf..3bba4492 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
@@ -472,8 +472,6 @@
#define callout_schedule_on _bsd_callout_schedule_on
#define _callout_stop_safe _bsd__callout_stop_safe
#define callout_when _bsd_callout_when
-#define callwheelmask _bsd_callwheelmask
-#define callwheelsize _bsd_callwheelsize
#define camellia_decrypt _bsd_camellia_decrypt
#define camellia_decrypt128 _bsd_camellia_decrypt128
#define camellia_decrypt256 _bsd_camellia_decrypt256