forked from Imagelibrary/seL4
SELFOUR-317: rename async endpoint to notification object, and other
fallout.
This commit is contained in:
26
include/object/notification.h
Normal file
26
include/object/notification.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* 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_NOTIFICATION_H
|
||||
#define __OBJECT_NOTIFICATION_H
|
||||
|
||||
#include <types.h>
|
||||
#include <object/structures.h>
|
||||
|
||||
void sendSignal(notification_t *ntfnPtr, word_t badge);
|
||||
void receiveSignal(tcb_t *thread, cap_t cap, bool_t isBlocking);
|
||||
void cancelAllSignals(notification_t *ntfnPtr);
|
||||
void cancelSignal(tcb_t *threadPtr, notification_t *ntfnPtr);
|
||||
void completeSignal(notification_t *ntfnPtr, tcb_t *tcb);
|
||||
void unbindMaybeNotification(notification_t *ntfnPtr);
|
||||
void unbindNotification(tcb_t *tcb);
|
||||
void bindNotification(tcb_t *tcb, notification_t *ntfnPtr);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user