library function to retrieve kernel proc table and sanity check it

This commit is contained in:
Ben Gras
2010-06-28 11:05:15 +00:00
parent 67fa273d00
commit 8379b08845
4 changed files with 49 additions and 1 deletions
+2 -1
View File
@@ -1,6 +1,8 @@
#ifndef PROC_H
#define PROC_H
#include <minix/const.h>
#ifndef __ASSEMBLY__
/* Here is the declaration of the process table. It contains all process
@@ -102,7 +104,6 @@ struct proc {
} p_vmrequest;
int p_found; /* consistency checking variables */
#define PMAGIC 0xC0FFEE1
int p_magic; /* check validity of proc pointers */
#if DEBUG_TRACE