aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/simulator/posix/hal_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-02-02 10:23:59 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-02-02 10:23:59 +0000
commite3498cf0825e1ca9f5cbad0cee4cdb090964baf2 (patch)
tree3976b9d724e53f8281cbe2ce68180209ba883e5a /os/hal/ports/simulator/posix/hal_lld.h
parent69aa39ff927e44c72f7f4824ee47934660c5055c (diff)
downloadChibiOS-e3498cf0825e1ca9f5cbad0cee4cdb090964baf2.tar.gz
ChibiOS-e3498cf0825e1ca9f5cbad0cee4cdb090964baf2.tar.bz2
ChibiOS-e3498cf0825e1ca9f5cbad0cee4cdb090964baf2.zip
Posix simulator, still work in progress.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10077 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/simulator/posix/hal_lld.h')
-rwxr-xr-xos/hal/ports/simulator/posix/hal_lld.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/os/hal/ports/simulator/posix/hal_lld.h b/os/hal/ports/simulator/posix/hal_lld.h
new file mode 100755
index 000000000..2a1dbf933
--- /dev/null
+++ b/os/hal/ports/simulator/posix/hal_lld.h
@@ -0,0 +1,67 @@
+/*
+ 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 simulator/posix/hal_lld.h
+ * @brief Posix simulator HAL subsystem low level driver header.
+ *
+ * @addtogroup POSIX_HAL
+ * @{
+ */
+
+#ifndef HAL_LLD_H
+#define HAL_LLD_H
+
+#include <windows.h>
+#include <stdio.h>
+
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "Win32 Simulator"
+
+/*===========================================================================*/
+/* Driver pre-compile time settings. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void hal_lld_init(void);
+ void _sim_check_for_interrupts(void);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* HAL_LLD_H */
+
+/** @} */