Moved stime, time, times POSIX calls from FS to PM. Removed child time
accounting from kernel (now in PM). Large amount of files in this commit is due to system time problems during development.
This commit is contained in:
17
kernel/ipc.h
17
kernel/ipc.h
@@ -5,10 +5,25 @@
|
||||
#define FRESH_ANSWER 0x20 /* ignore pending notifications as answer */
|
||||
/* (default behaviour for SENDREC calls) */
|
||||
|
||||
/* System calls (numbers passed when trapping to the kernel) */
|
||||
/* System calls (numbers passed when trapping to the kernel). */
|
||||
#define ECHO 0 /* function code for echoing messages */
|
||||
#define SEND 1 /* function code for sending messages */
|
||||
#define RECEIVE 2 /* function code for receiving messages */
|
||||
#define SENDREC 3 /* function code for SEND + RECEIVE */
|
||||
#define NOTIFY 4 /* function code for notifications */
|
||||
|
||||
#if 0
|
||||
/* Bit map operations used to bits of simple bit mask. */
|
||||
#define set_bit(mask, n) ((mask) |= (1 << (n)))
|
||||
#define clear_bit(mask, n) ((mask) &= ~(1 << (n)))
|
||||
#define isset_bit(mask, n) ((mask) & (1 << (n)))
|
||||
#define empty_mask (0)
|
||||
#define filled_mask (~0)
|
||||
#endif
|
||||
|
||||
/* Call masks indicating which system calls a process can make. */
|
||||
#define EMPTY_CALL_MASK (0)
|
||||
#define USER_CALL_MASK (1 << SENDREC)
|
||||
#define SYSTEM_CALL_MASK (~0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user