/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #ifndef __OBJECT_ASYNCENDPOINT_H #define __OBJECT_ASYNCENDPOINT_H #include #include void sendAsyncIPC(async_endpoint_t *aepptr, word_t badge); void receiveAsyncIPC(tcb_t *thread, cap_t cap, bool_t isBlocking); void aepCancelAll(async_endpoint_t *aepptr); void asyncIPCCancel(tcb_t *threadPtr, async_endpoint_t *aepptr); void completeAsyncIPC(async_endpoint_t *aepptr, tcb_t *tcb); void unbindMaybeAEP(async_endpoint_t *aepptr); void unbindAsyncEndpoint(tcb_t *tcb); void bindAsyncEndpoint(tcb_t *tcb, async_endpoint_t *aepptr); #endif