# process status utility
ps: ps.c /usr/include/minix/config.h /usr/include/minix/const.h \
/usr/src/kernel/const.h /usr/src/kernel/type.h \
- /usr/src/kernel/proc.h /usr/src/servers/mm/mproc.h \
+ /usr/src/kernel/proc.h /usr/src/servers/pm/mproc.h \
/usr/src/servers/fs/fproc.h /usr/src/servers/fs/const.h
$(CC) -i $(CFLAGS) -o $@ ps.c
install -S 32kw $@
* processes without a terminal.
*
* VERY IMPORTANT NOTE:
- * To compile ps, the kernel/, fs/ and mm/ source directories must be in
+ * To compile ps, the kernel/, fs/ and pm/ source directories must be in
* ../ relative to the directory where ps is compiled (normally the
* tools source directory).
*
#include "../../kernel/proc.h"
#undef printf /* kernel's const.h defined this */
-#include "../../servers/mm/mproc.h"
+#include "../../servers/pm/mproc.h"
#include "../../servers/fs/fproc.h"
#include "../../servers/fs/const.h"
#undef printf /* fs's const.h defined this */
#define low_user init_proc_nr
#define KMEM_PATH "/dev/kmem" /* opened for kernel proc table */
-#define MEM_PATH "/dev/mem" /* opened for mm/fs + user processes */
+#define MEM_PATH "/dev/mem" /* opened for pm/fs + user processes */
int kmemfd, memfd; /* file descriptors of [k]mem */
}
/* Main interprets arguments, gets system addresses, opens [k]mem, reads in
- * process tables from kernel/mm/fs and calls pstat() for relevant entries.
+ * process tables from kernel/pm/fs and calls pstat() for relevant entries.
*/
int main(argc, argv)
int argc;