version_2.0
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/utilities/fsl_os_abstraction_mbed.h@83:8a40adfe8776, 2014-04-28 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Apr 28 17:39:05 2014 +0100
- Revision:
- 83:8a40adfe8776
Release 83 of the mbed library
Main changes:
- updated tests
- K64F TCP/IP support
- lots of fixes in various targets
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 83:8a40adfe8776 | 1 | /* fsl_os_mbed_abstraction.h */ |
bogdanm | 83:8a40adfe8776 | 2 | /* Copyright (C) 2012 mbed.org, MIT License |
bogdanm | 83:8a40adfe8776 | 3 | * |
bogdanm | 83:8a40adfe8776 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
bogdanm | 83:8a40adfe8776 | 5 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
bogdanm | 83:8a40adfe8776 | 6 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
bogdanm | 83:8a40adfe8776 | 7 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
bogdanm | 83:8a40adfe8776 | 8 | * furnished to do so, subject to the following conditions: |
bogdanm | 83:8a40adfe8776 | 9 | * |
bogdanm | 83:8a40adfe8776 | 10 | * The above copyright notice and this permission notice shall be included in all copies or |
bogdanm | 83:8a40adfe8776 | 11 | * substantial portions of the Software. |
bogdanm | 83:8a40adfe8776 | 12 | * |
bogdanm | 83:8a40adfe8776 | 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
bogdanm | 83:8a40adfe8776 | 14 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
bogdanm | 83:8a40adfe8776 | 15 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
bogdanm | 83:8a40adfe8776 | 16 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
bogdanm | 83:8a40adfe8776 | 17 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
bogdanm | 83:8a40adfe8776 | 18 | */ |
bogdanm | 83:8a40adfe8776 | 19 | |
bogdanm | 83:8a40adfe8776 | 20 | #ifndef FSL_OS_ABSTRACTION_MBED_H_ |
bogdanm | 83:8a40adfe8776 | 21 | #define FSL_OS_ABSTRACTION_MBED_H_ |
bogdanm | 83:8a40adfe8776 | 22 | |
bogdanm | 83:8a40adfe8776 | 23 | // This is not really an "abstraction", but rather a set of quick&dirty |
bogdanm | 83:8a40adfe8776 | 24 | // defines to allow the KSDK to compile. Currently, this is relevant only |
bogdanm | 83:8a40adfe8776 | 25 | // in the context of the ENET driver (fsl_enet_driver.c) |
bogdanm | 83:8a40adfe8776 | 26 | |
bogdanm | 83:8a40adfe8776 | 27 | typedef int event_object_t; |
bogdanm | 83:8a40adfe8776 | 28 | typedef int lock_object_t; |
bogdanm | 83:8a40adfe8776 | 29 | typedef void sync_object_t; |
bogdanm | 83:8a40adfe8776 | 30 | typedef unsigned int event_group_t; |
bogdanm | 83:8a40adfe8776 | 31 | typedef int task_t; |
bogdanm | 83:8a40adfe8776 | 32 | typedef void task_stack_t; |
bogdanm | 83:8a40adfe8776 | 33 | typedef int task_handler_t; |
bogdanm | 83:8a40adfe8776 | 34 | typedef int msg_queue_handler_t; |
bogdanm | 83:8a40adfe8776 | 35 | typedef void msg_queue_t; |
bogdanm | 83:8a40adfe8776 | 36 | typedef int msg_queue_item_t; |
bogdanm | 83:8a40adfe8776 | 37 | |
bogdanm | 83:8a40adfe8776 | 38 | #endif // #ifdef FSL_OS_ABSTRACTION_MBED_H_ |