C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
notify.h
1#pragma once
2
3#include <stdint.h>
4#include <arch/sysenter.h>
5#include <cmrx/sys/notify.h>
6
33__SYSCALL int notify_object(const void * object);
34
46__SYSCALL int notify_object2(const void * object, uint32_t flags);
47
65__SYSCALL int wait_for_object(const void * object, uint32_t timeout);
66
86__SYSCALL int wait_for_object_value(uint8_t * object, uint8_t value, uint32_t timeout, uint32_t flags);
87
__SYSCALL int notify_object(const void *object)
Notify waiter for object.
Definition notify.c:4
__SYSCALL int wait_for_object(const void *object, uint32_t timeout)
Wait for a notification on object.
Definition notify.c:17
__SYSCALL int wait_for_object_value(uint8_t *object, uint8_t value, uint32_t timeout, uint32_t flags)
Wait if value stored at the address is different than one expected.
Definition notify.c:24
__SYSCALL int notify_object2(const void *object, uint32_t flags)
Notify current waiter for object.
Definition notify.c:10
#define __SYSCALL
Mark function as syscall entrypoint in userspace.
Definition sysenter.h:14