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