mm -> pm fixes

This commit is contained in:
Ben Gras 2005-05-04 09:27:47 +00:00
parent 8cd654f94f
commit 7dfa3c595b
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ MAKE= exec make -$(MAKEFLAGS)
# process status utility # process status utility
ps: ps.c /usr/include/minix/config.h /usr/include/minix/const.h \ 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/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 /usr/src/servers/fs/fproc.h /usr/src/servers/fs/const.h
$(CC) -i $(CFLAGS) -o $@ ps.c $(CC) -i $(CFLAGS) -o $@ ps.c
install -S 32kw $@ install -S 32kw $@

View file

@ -12,7 +12,7 @@
* processes without a terminal. * processes without a terminal.
* *
* VERY IMPORTANT NOTE: * 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 * ../ relative to the directory where ps is compiled (normally the
* tools source directory). * tools source directory).
* *
@ -77,7 +77,7 @@
#include "../../kernel/proc.h" #include "../../kernel/proc.h"
#undef printf /* kernel's const.h defined this */ #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/fproc.h"
#include "../../servers/fs/const.h" #include "../../servers/fs/const.h"
#undef printf /* fs's const.h defined this */ #undef printf /* fs's const.h defined this */
@ -116,7 +116,7 @@ int init_proc_nr;
#define low_user init_proc_nr #define low_user init_proc_nr
#define KMEM_PATH "/dev/kmem" /* opened for kernel proc table */ #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 */ 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 /* 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 main(argc, argv)
int argc; int argc;