diff options
Diffstat (limited to 'lib/chibios/os/hal/ports/simulator/win32/hal_lld.h')
-rw-r--r-- | lib/chibios/os/hal/ports/simulator/win32/hal_lld.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/ports/simulator/win32/hal_lld.h b/lib/chibios/os/hal/ports/simulator/win32/hal_lld.h new file mode 100644 index 000000000..1b8bf9fae --- /dev/null +++ b/lib/chibios/os/hal/ports/simulator/win32/hal_lld.h | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | /** | ||
18 | * @file hal_lld.h | ||
19 | * @brief WIN32 simulator HAL subsystem low level driver header. | ||
20 | * | ||
21 | * @addtogroup WIN32_HAL | ||
22 | * @{ | ||
23 | */ | ||
24 | |||
25 | #ifndef HAL_LLD_H | ||
26 | #define HAL_LLD_H | ||
27 | |||
28 | #include <windows.h> | ||
29 | #include <stdio.h> | ||
30 | |||
31 | /*===========================================================================*/ | ||
32 | /* Driver constants. */ | ||
33 | /*===========================================================================*/ | ||
34 | |||
35 | /** | ||
36 | * @brief Platform name. | ||
37 | */ | ||
38 | #define PLATFORM_NAME "Win32 Simulator" | ||
39 | |||
40 | /*===========================================================================*/ | ||
41 | /* Driver pre-compile time settings. */ | ||
42 | /*===========================================================================*/ | ||
43 | |||
44 | /*===========================================================================*/ | ||
45 | /* Derived constants and error checks. */ | ||
46 | /*===========================================================================*/ | ||
47 | |||
48 | /*===========================================================================*/ | ||
49 | /* Driver data structures and types. */ | ||
50 | /*===========================================================================*/ | ||
51 | |||
52 | /*===========================================================================*/ | ||
53 | /* External declarations. */ | ||
54 | /*===========================================================================*/ | ||
55 | |||
56 | #ifdef __cplusplus | ||
57 | extern "C" { | ||
58 | #endif | ||
59 | void hal_lld_init(void); | ||
60 | void _sim_check_for_interrupts(void); | ||
61 | #ifdef __cplusplus | ||
62 | } | ||
63 | #endif | ||
64 | |||
65 | #endif /* HAL_LLD_H */ | ||
66 | |||
67 | /** @} */ | ||