From: Ben Gras Date: Wed, 4 May 2005 09:27:47 +0000 (+0000) Subject: mm -> pm fixes X-Git-Tag: v3.1.0~876 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doxygen.png?a=commitdiff_plain;h=7dfa3c595bb8d5c364430a6d189b4313e3a5c42c;p=minix.git mm -> pm fixes --- diff --git a/commands/ps/Makefile b/commands/ps/Makefile index 7cc186f26..7ef621222 100644 --- a/commands/ps/Makefile +++ b/commands/ps/Makefile @@ -8,7 +8,7 @@ MAKE= exec make -$(MAKEFLAGS) # 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 $@ diff --git a/commands/ps/ps.c b/commands/ps/ps.c index 826eddcf6..8b9297521 100644 --- a/commands/ps/ps.c +++ b/commands/ps/ps.c @@ -12,7 +12,7 @@ * 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). * @@ -77,7 +77,7 @@ #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 */ @@ -116,7 +116,7 @@ int init_proc_nr; #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 */ @@ -256,7 +256,7 @@ int sig; } /* 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;