endpoint.h File Reference

#include <minix/sys_config.h>
#include <minix/com.h>
#include <limits.h>

Include dependency graph for endpoint.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _MINIX_ENDPOINT_H   1
#define _ENDPOINT_GENERATION_SIZE   (NR_TASKS+_MAX_MAGIC_PROC+1)
#define _ENDPOINT_MAX_GENERATION   (INT_MAX/_ENDPOINT_GENERATION_SIZE-1)
#define _ENDPOINT(g, p)   ((g) * _ENDPOINT_GENERATION_SIZE + (p))
#define _ENDPOINT_G(e)   (((e)+NR_TASKS) / _ENDPOINT_GENERATION_SIZE)
#define _ENDPOINT_P(e)   ((((e)+NR_TASKS) % _ENDPOINT_GENERATION_SIZE) - NR_TASKS)


Define Documentation

#define _ENDPOINT g,
p   )     ((g) * _ENDPOINT_GENERATION_SIZE + (p))
 

Definition at line 22 of file endpoint.h.

Referenced by do_fork(), and main().

#define _ENDPOINT_G  )     (((e)+NR_TASKS) / _ENDPOINT_GENERATION_SIZE)
 

Definition at line 23 of file endpoint.h.

Referenced by do_fork(), isokendpt_f(), main(), and proctab_dmp().

#define _ENDPOINT_GENERATION_SIZE   (NR_TASKS+_MAX_MAGIC_PROC+1)
 

Definition at line 18 of file endpoint.h.

#define _ENDPOINT_MAX_GENERATION   (INT_MAX/_ENDPOINT_GENERATION_SIZE-1)
 

Definition at line 19 of file endpoint.h.

Referenced by do_fork(), and main().

#define _ENDPOINT_P  )     ((((e)+NR_TASKS) % _ENDPOINT_GENERATION_SIZE) - NR_TASKS)
 

Definition at line 24 of file endpoint.h.

Referenced by do_exit(), do_fork(), isokendpt_f(), main(), mini_send(), pm_isokendpt(), proctab_dmp(), pstat(), start_service(), and taskname().

#define _MINIX_ENDPOINT_H   1
 

Definition at line 3 of file endpoint.h.


Generated on Fri Apr 14 23:10:09 2006 for minix by  doxygen 1.4.6