Changeset 13
- Timestamp:
- Jun 4, 2011, 6:01:54 PM (13 years ago)
- Location:
- tags/minix3.1.2a-orig/minix
- Files:
-
- 6 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/minix3.1.2a-orig/minix/include/minix/com.h
r9 r13 42 42 #define TTY_PROC_NR 5 /* terminal (TTY) driver */ 43 43 #define DS_PROC_NR 6 /* data store server */ 44 #define INIT_PROC_NR 7 /* init -- goes multiuser */ 44 #define SS_PROC_NR 7 /* semaphore server */ 45 #define INIT_PROC_NR 8 /* init -- goes multiuser */ 45 46 46 47 /* Number of processes contained in the system image. */ … … 487 488 488 489 /*===========================================================================* 490 * Messages for the Semaphore Server * 491 *===========================================================================*/ 492 #define SS_RQ_BASE 0xA00 /* qualsiasi numero inutilizzato e` ok */ 493 #define SS_DOWN (SS_RQ_BASE + 0) /* semaphore down */ 494 #define SS_UP (SS_RQ_BASE + 1) /* semaphore up */ 495 496 497 498 /*===========================================================================* 489 499 * Miscellaneous messages used by TTY * 490 500 *===========================================================================*/ -
tags/minix3.1.2a-orig/minix/kernel/table.c
r9 r13 69 69 #define SRV_M (~0) 70 70 #define SYS_M (~0) 71 #define USR_M (s(PM_PROC_NR) | s(FS_PROC_NR) | s(RS_PROC_NR) | s(S YSTEM))71 #define USR_M (s(PM_PROC_NR) | s(FS_PROC_NR) | s(RS_PROC_NR) | s(SS_PROC_NR) | s(SYSTEM)) 72 72 #define DRV_M (USR_M | s(SYSTEM) | s(CLOCK) | s(DS_PROC_NR) | s(LOG_PROC_NR) | s(TTY_PROC_NR)) 73 73 … … 80 80 #define RS_C ~0 81 81 #define DS_C ~0 82 #define SS_C ~0 82 83 #define PM_C ~(c(SYS_DEVIO) | c(SYS_SDEVIO) | c(SYS_VDEVIO) | c(SYS_IRQCTL) | c(SYS_INT86)) 83 84 #define FS_C (c(SYS_KILL) | c(SYS_VIRCOPY) | c(SYS_VIRVCOPY) | c(SYS_UMAP) | c(SYS_GETINFO) | c(SYS_EXIT) | c(SYS_TIMES) | c(SYS_SETALARM)) … … 97 98 * Note: the quantum size must be positive in all cases! 98 99 */ 100 /* Attenzione! Minix bug! L'ordine nella bootimage deve coincidere con quello 101 * della tabella (vedi commento precedente). Ne deriva che tre file devono 102 * essere coerenti: 103 * 1. include/minix/com.h (l'ordine delle macro *_NR) 104 * 2. kernel/table.c (l'ordine in boot_image) 105 * 3. tools/Makefile (l'ordine di concatenamento nella boot image) 106 * altrimenti la ipc_to mask non corrisponde 107 */ 99 108 PUBLIC struct boot_image image[] = { 100 109 /* process nr, pc, flags, qs, queue, stack, traps, ipcto, call, name */ … … 106 115 { FS_PROC_NR, 0, SRV_F, 32, 4, 0, SRV_T, SRV_M, FS_C, "fs" }, 107 116 { RS_PROC_NR, 0, SRV_F, 4, 3, 0, SRV_T, SYS_M, RS_C, "rs" }, 117 { TTY_PROC_NR, 0, SRV_F, 4, 1, 0, SRV_T, SYS_M, TTY_C, "tty" }, 108 118 { DS_PROC_NR, 0, SRV_F, 4, 3, 0, SRV_T, SYS_M, DS_C, "ds" }, 109 { TTY_PROC_NR, 0, SRV_F, 4, 1, 0, SRV_T, SYS_M, TTY_C, "tty"},119 { SS_PROC_NR, 0, SRV_F, 4, 3, 0, SRV_T, SYS_M, SS_C, "ss" }, 110 120 { MEM_PROC_NR, 0, SRV_F, 4, 2, 0, SRV_T, SYS_M, MEM_C, "mem" }, 111 121 { LOG_PROC_NR, 0, SRV_F, 4, 2, 0, SRV_T, SYS_M, DRV_C, "log" }, -
tags/minix3.1.2a-orig/minix/servers/Makefile
r9 r13 20 20 cd ./rs && $(MAKE) $@ 21 21 cd ./ds && $(MAKE) $@ 22 cd ./ss && $(MAKE) $@ 22 23 cd ./is && $(MAKE) $@ 23 24 cd ./init && $(MAKE) $@ … … 29 30 cd ./rs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build 30 31 cd ./ds && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build 32 cd ./ss && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build 31 33 cd ./init && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build 32 34 -
tags/minix3.1.2a-orig/minix/tools/Makefile
r9 r13 11 11 ../servers/fs/fs \ 12 12 ../servers/rs/rs \ 13 ../drivers/tty/tty \ 13 14 ../servers/ds/ds \ 14 ../ drivers/tty/tty\15 ../servers/ss/ss \ 15 16 ../drivers/memory/memory \ 16 17 ../drivers/log/log \
Note:
See TracChangeset
for help on using the changeset viewer.