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

View File

@@ -187,4 +187,7 @@
#define VERBOSEBOOT_MAX 3
#define VERBOSEBOOTVARNAME "verbose"
/* magic value to put in struct proc entries for sanity checks. */
#define PMAGIC 0xC0FFEE1
#endif /* _MINIX_CONST_H */

View File

@@ -6,6 +6,7 @@
#include <minix/type.h>
_PROTOTYPE( int getsysinfo, (endpoint_t who, int what, void *where) );
_PROTOTYPE( int minix_getkproctab, (void *pr, int nprocs, int assert));
_PROTOTYPE( ssize_t getsysinfo_up, (endpoint_t who, int what, size_t size,
void *where));