Fixed some minor issues with the NOTIFY call.
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
#define IDLE -4 /* runs when no one else can run */
|
||||
#define CLOCK -3 /* alarms and other clock functions */
|
||||
#define SYSTASK -2 /* request system functionality */
|
||||
#define HARDWARE -1 /* used as source on notify() messages */
|
||||
#define KERNEL -1 /* used as source on notify() messages */
|
||||
#define HARDWARE KERNEL /* for hardware interrupt handlers */
|
||||
|
||||
/* Number of tasks. Note that NR_PROCS is defined in <minix/config.h>. */
|
||||
#define NR_TASKS 4
|
||||
|
||||
@@ -102,18 +102,7 @@ struct kinfo {
|
||||
phys_bytes bootdev_size;
|
||||
phys_bytes params_base; /* parameters passed by boot monitor */
|
||||
phys_bytes params_size;
|
||||
long notify_held;
|
||||
long notify_blocked;
|
||||
long notify_switching;
|
||||
long notify_reenter;
|
||||
long notify_taskcall;
|
||||
long notify_ok;
|
||||
long notify_unhold;
|
||||
long notify_int;
|
||||
long notify_alarm;
|
||||
long notify_sig;
|
||||
long notify_kmess;
|
||||
long notify_stop;
|
||||
long nr_ntf_pending;
|
||||
int nr_procs; /* number of user processes */
|
||||
int nr_tasks; /* number of kernel tasks */
|
||||
char version[8]; /* kernel version number */
|
||||
|
||||
Reference in New Issue
Block a user