Working on reorganizing kernel.c
This commit is contained in:
13
include/types/message.h
Normal file
13
include/types/message.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef QUARK_MESSAGE_H
|
||||
#define QUARK_MESSAGE_H
|
||||
|
||||
#include <types/pid.h>
|
||||
|
||||
typedef struct message_t
|
||||
{
|
||||
pid_t sender;
|
||||
unsigned long code;
|
||||
unsigned long args[6];
|
||||
} message_t;
|
||||
|
||||
#endif
|
||||
10
include/types/signalid.h
Normal file
10
include/types/signalid.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef QUARK_SIGNALID_H
|
||||
#define QUARK_SIGNALID_H
|
||||
|
||||
typedef enum signalid_t
|
||||
{
|
||||
SIG_KILL = 1,
|
||||
SIG_STOP
|
||||
} signalid_t;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user