Changes between Version 49 and Version 50 of io_operations
- Timestamp:
- Jan 19, 2018, 1:30:39 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
io_operations
v49 v50 142 142 '''1)''' The TXT[0] terminal is reserved for the kernel. It is normally used by the kernel to display log and/or debug messages. It can only be used by the user processes for debug, through some specific system calls such as the panic() or display_xxx() functions, that should not be used in normal exploitation. 143 143 144 '''2)''' The other (NB_TXT_CHANNELS - 1) terminals TXT[i] are shared resources used by user processes. During kernel initialization, ALMOS-MKH creates the first INIT user process, that creates itself (NB_TXT_CHANNELS -1) KSH user processes (one shell per user text terminal). All processes created by a KSH[i] process share the same TXT[i] terminal as the parent process, and belong to the same group of process. 145 144 '''2)''' The other (NB_TXT_CHANNELS - 1) terminals TXT[i] are shared resources used by user processes. During kernel initialization, ALMOS-MKH creates the first INIT user process, that creates itself (NB_TXT_CHANNELS -1) KSH user processes (one shell per user text terminal). All processes created by a KSH[i] process share the same TXT[i] terminal as the parent process, and belong to the same group of process. 145 146 146 '''3)''' In the present implementation, the INIT process and the the KSH[i] processes are never deleted : they do not call the exit() scale, and cannot be killed. 147 147 … … 152 152 '''6)''' The control characters (ctrlC , ctrlZ) typed in a TXT_RX[i] terminal are only routed to the foreground process attached to this terminal. 153 153 154 '''7)''' When a new process is launched in a KSH (using the ''load'' command), it becomes the TXT terminal owner, and run in foreground, unless it is launched with the ''&'' attribute on command line. When a child process is directly created by a parent process (using the ''fork()'' syscall), it does not get the the TXT terminal ownership, and run in background.154 '''7)''' When a new process is launched in a KSH (using the ''load'' command), it becomes the TXT terminal owner, and run in foreground, unless it is launched with the ''&'' attribute on command line. When a child process is directly created by a parent process (using the ''fork()'' syscall), it does not get the the TXT terminal ownership, and run in background. 155 155 156 156 == I) Hardware Specific ==