diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-22 13:42:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-23 10:03:10 +0200 |
commit | be43b79fcabb7551677e2d27c75e2a500e2ba622 (patch) | |
tree | adacb76593743ee5bf58d0ea5df2db97880b5d5a /rtemsbsd/include/machine/rtems-bsd-support.h | |
parent | Include missing header file (diff) | |
download | rtems-libbsd-be43b79fcabb7551677e2d27c75e2a500e2ba622.tar.bz2 |
Replace RTEMS objects with custom implementation
Performance analysis revealed that the standard RTEMS objects are a
major bottleneck. The object get mechanism and attribute checks at
runtime have a significant overhead. Use a custom implementation for
synchronization primitives. This drops also the size of the
synchronization primitives considerably.
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-support.h')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-support.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-support.h b/rtemsbsd/include/machine/rtems-bsd-support.h index de148921..49d396f2 100644 --- a/rtemsbsd/include/machine/rtems-bsd-support.h +++ b/rtemsbsd/include/machine/rtems-bsd-support.h @@ -42,8 +42,6 @@ #include <stdio.h> -#include <rtems/chain.h> - /* Debug */ #define BSD_PRINTF(fmt, ...) printf("%s: " fmt, __func__, ##__VA_ARGS__) @@ -54,16 +52,4 @@ #define BSD_ASSERT_RV(rv) BSD_ASSERT((rv) == 0) -extern rtems_chain_control rtems_bsd_lock_chain; - -extern rtems_chain_control rtems_bsd_mtx_chain; - -extern rtems_chain_control rtems_bsd_sx_chain; - -extern rtems_chain_control rtems_bsd_condvar_chain; - -extern rtems_chain_control rtems_bsd_callout_chain; - -extern rtems_chain_control rtems_bsd_malloc_chain; - #endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SUPPORT_H_ */ |