]> git.gir.st - tmk_keyboard.git/blob - tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/utilities/fsl_os_abstraction_mbed.h
Merge commit '4d116a04e94cf0d19317d5b44e4fa9f34a3e5594'
[tmk_keyboard.git] / tmk_core / tool / mbed / mbed-sdk / libraries / mbed / targets / hal / TARGET_Freescale / TARGET_KPSDK_MCUS / TARGET_KPSDK_CODE / utilities / fsl_os_abstraction_mbed.h
1 /* fsl_os_mbed_abstraction.h */
2 /* Copyright (C) 2012 mbed.org, MIT License
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
5 * and associated documentation files (the "Software"), to deal in the Software without restriction,
6 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
7 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
8 * furnished to do so, subject to the following conditions:
9 *
10 * The above copyright notice and this permission notice shall be included in all copies or
11 * substantial portions of the Software.
12 *
13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
14 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
16 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18 */
19
20 #ifndef FSL_OS_ABSTRACTION_MBED_H_
21 #define FSL_OS_ABSTRACTION_MBED_H_
22
23 // This is not really an "abstraction", but rather a set of quick&dirty
24 // defines to allow the KSDK to compile. Currently, this is relevant only
25 // in the context of the ENET driver (fsl_enet_driver.c)
26
27 typedef int event_object_t;
28 typedef int lock_object_t;
29 typedef void sync_object_t;
30 typedef unsigned int event_group_t;
31 typedef int task_t;
32 typedef void task_stack_t;
33 typedef int task_handler_t;
34 typedef int msg_queue_handler_t;
35 typedef void msg_queue_t;
36 typedef int msg_queue_item_t;
37
38 #endif // #ifdef FSL_OS_ABSTRACTION_MBED_H_
Imprint / Impressum