aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/abstractions/nasa_osal/cfe_osal/include/osapi-os-custom.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-09 11:17:13 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-09 11:17:13 +0000
commit19678138f0aec601213e58f550935967fd179179 (patch)
tree1b9cacce3f37c70003ef96d87693a2455f8b2185 /os/common/abstractions/nasa_osal/cfe_osal/include/osapi-os-custom.h
parent7deaa690374916a4a6f78da98ce844967659cffc (diff)
downloadChibiOS-19678138f0aec601213e58f550935967fd179179.tar.gz
ChibiOS-19678138f0aec601213e58f550935967fd179179.tar.bz2
ChibiOS-19678138f0aec601213e58f550935967fd179179.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9259 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/abstractions/nasa_osal/cfe_osal/include/osapi-os-custom.h')
-rw-r--r--os/common/abstractions/nasa_osal/cfe_osal/include/osapi-os-custom.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/os/common/abstractions/nasa_osal/cfe_osal/include/osapi-os-custom.h b/os/common/abstractions/nasa_osal/cfe_osal/include/osapi-os-custom.h
new file mode 100644
index 000000000..4b9213118
--- /dev/null
+++ b/os/common/abstractions/nasa_osal/cfe_osal/include/osapi-os-custom.h
@@ -0,0 +1,68 @@
+/*
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file osapi-os-custom.h
+ * @brief Custom OSAPI extensions header.
+ *
+ * @addtogroup osapi-custom
+ * @{
+ */
+
+#ifndef OSAPI_CUSTOM_H
+#define OSAPI_CUSTOM_H
+
+/*===========================================================================*/
+/* Module constants. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module pre-compile time settings. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module macros. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void OS_set_printf(int (*printf)(const char *fmt, ...));
+ boolean OS_TaskDeleteCheck(void);
+ int32 OS_TaskWait(uint32 task_id);
+#ifdef __cplusplus
+}
+#endif
+
+/*===========================================================================*/
+/* Module inline functions. */
+/*===========================================================================*/
+
+#endif /* OSAPI_CUSTOM_H */
+
+/** @} */