19 | | * The PREF_TBL[lpid]] is an array indexed by the local process index. Each entry contains an extended pointer on the reference process descriptor. |
20 | | * The COPIES_ROOT[lpid] array is also indexed by the local process index. Each entry contains the root of the global list of copies for each process owned by cluster K. |
21 | | * The LOCAL_ROOT is the root of the local list of all process descriptors in cluster K. A process descriptor copy of P is present in K, as soon as P has a thread in cluster K. |
| 19 | * The '''PREF_TBL[lpid]''' is an array indexed by the local process index. Each entry contains an extended pointer on the reference process descriptor. |
| 20 | * The '''COPIES_ROOT[lpid]''' array is also indexed by the local process index. Each entry contains the root of the global list of copies for each process owned by cluster K. |
| 21 | * The '''LOCAL_ROOT''' is the local list of all process descriptors in cluster K. A process descriptor copy of P is present in K, as soon as P has a thread in cluster K. |
23 | | The process descriptor (process_t in ALMOS-MK) contains the following informations: |
24 | | - PID : proces identifier. |
25 | | - PPID : parent process identifier, |
26 | | - XMIN, XMAX, YMIN, YMAX : rectangle covering all active clusters. |
27 | | - PREF : extended pointer on the reference process descriptor. |
28 | | - VMM : virtual memory manager containing the PG_TBL and the VSEG_LIST. |
29 | | - FD_TBL : open file descriptors table. |
30 | | - TH_TBL : local table of threads owned by this process in this cluster. |
31 | | - LOCAL_LIST : member of local list of all process descriptors in same cluster. |
32 | | - COPIES_LIST : member of global list (globale) of all copies of same process. |
33 | | - CHILDREN_LIST : member of global list of all children of same parent process. |
34 | | - CHILDREN_ROOT : root of global list of children process. |
| 23 | There is a partial list of informations stored in a process descriptor (process_t in ALMOS-MK): |
| 24 | - '''PID''' : proces identifier. |
| 25 | - '''PPID''' : parent process identifier, |
| 26 | - '''XMIN, YMIN, XMAX, YMAX''' : rectangle covering all active clusters. |
| 27 | - '''PREF''' : extended pointer on the reference process descriptor. |
| 28 | - '''VMM''' : virtual memory manager containing the PG_TBL and the VSEG_LIST. |
| 29 | - '''FD_TBL''' : open file descriptors table. |
| 30 | - '''TH_TBL''' : local table of threads owned by this process in this cluster. |
| 31 | - '''LOCAL_LIST''' : member of local list of all process descriptors in same cluster. |
| 32 | - '''COPIES_LIST''' : member of global list of all descriptors of same process. |
| 33 | - '''CHILDREN_LIST''' : member of global list of all children of same parent process. |
| 34 | - '''CHILDREN_ROOT''' : root of global list of children process. |
56 | | The thread descriptor (thread_t in ALMOS-MK) contains the following informations: |
57 | | * TRDID : thread identifier |
58 | | * PTRDID : parent thread identifier |
59 | | * TYPE : KERNEL / USER / IDLE / RPC |
60 | | * FLAGS : attributs du thread |
61 | | * PROCESS : pointer on the local process descriptor |
62 | | * STATE : CREATE / READY / USER / KERNEL / WAIT / DEAD |
63 | | * LOCKS_COUNT : current number of locks taken by this thread |
64 | | * PWS : zone de sauvegarde des registres du coeur. |
65 | | * XLIST : member of the global list of threads waiting on the same resource. |
66 | | * SCHED : pointer on the scheduler in charge of this thread. |
67 | | * CORE : pointer on the owner processor core. |
68 | | * IO : allocated devices (in case of privately allocated devices). |
69 | | * SIGNALS : bit vector permettant d’enregistrer les signaux reçus par le thread |
| 55 | There is a partial list of informations stored in a thread descriptor (thread_t in ALMOS-MK): |
| 56 | * '''TRDID''' : thread identifier |
| 57 | * '''TYPE''' : KERNEL / USER / IDLE / RPC |
| 58 | * '''FLAGS''' : thread attributes |
| 59 | * '''STATE''' : CREATE / READY / USER / KERNEL / WAIT / ZOMBI / DEAD |
| 60 | * '''PROCESS''' : pointer on the local process descriptor |
| 61 | * '''LOCKS_COUNT''' : current number of locks taken by this thread |
| 62 | * '''PWS''' : zone de sauvegarde des registres du coeur. |
| 63 | * '''SCHED''' : pointer on the scheduler in charge of this thread. |
| 64 | * '''CORE''' : pointer on the owner processor core. |
| 65 | * '''IO''' : allocated devices (in case of privately allocated devices). |
| 66 | * '''SIGNALS''' : bit vector permettant d’enregistrer les signaux reçus par le thread. |
| 67 | * '''XLIST''' : member of the global list of threads waiting on the same resource. |
| 68 | * '''CHILDREN_ROOT''' : root of the global list of children threads. |
| 69 | * '''CHILDREN_LIST''' : member of the global list of all children of same parent. |