so i am trying to follow these directions here
http://berkeleyrc.blogspot.com/2010/05/adding-new-server-to-minix-316-kernel.html.
I am on step 2 and i create my own constant for my process in /usr/src/
include/minix/com.h.
Originally the user-space processes are as follows
....
#define VM_PROC_NR 8 /* memory server */
#define PFS_PROC_NR 9 /* pipe filesystem */
#define INIT_PROC_NR 10 /* init--goes multiuser */
so i wanted to define my own as follows
#define SP_PROC_NR
and place it between VM and INIT i tried both before and after PFS.
I also updated the boot image processes that the kernel uses in /usr/
src/kernel/table.c and made sure that the ordering was that same that
was in com.h
my entry is as follows
{SP_PROC_NR, 0, BVM_F, 4, 4, 0, "sp" },
when i save this and run make in the directory /usr/src/kernel
i get the following error messages
in table.c line 78 SP_PROC_NR undefined
in table.c line 91 array size is negative
make in /usr/src/kernel: Exit code 1
i am not really sure why it was say SP_PROC_NR is undefined since i
defined it in com.h or why the array size is now negative after my
entry. Any help is greatly appreciated. I've been stuck on this for
awhile.
--
You received this message because you are subscribed to the Google Groups "minix3" group.
To post to this group, send email to
min...@googlegroups.com.
To unsubscribe from this group, send email to
minix3+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/minix3?hl=en.