kernel: implement a generic object signalling system
This commit is contained in:
8
libmango/include-user/mango/object.h
Normal file
8
libmango/include-user/mango/object.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef MANGO_OBJECT_H_
|
||||
#define MANGO_OBJECT_H_
|
||||
|
||||
#include <mango/types.h>
|
||||
|
||||
extern kern_status_t kern_object_wait(kern_wait_item_t *items, size_t nr_items);
|
||||
|
||||
#endif
|
||||
10
libmango/include/mango/signal.h
Normal file
10
libmango/include/mango/signal.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef MANGO_SIGNAL_H_
|
||||
#define MANGO_SIGNAL_H_
|
||||
|
||||
#define CHANNEL_SIGNAL_MSG_RECEIVED 0x01u
|
||||
|
||||
#define VM_CONTROLLER_SIGNAL_REQUEST_RECEIVED 0x01u
|
||||
|
||||
#define EQUEUE_SIGNAL_PACKET_RECEIVED 0x01u
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user