Commit Graph

  • f88431f1f7 Made PRINTER driver use new revive-notify mechanism. Still to be tested. Jorrit Herder 2005-07-27 15:04:30 +00:00
  • fe0dcb5c00 AT driver is not modified (debugging only); TTY: select and revive with new notify and FS call back; kernel: removed old notify code; removed ugly prepare_shutdown timer kputc: don't send to FS if PRINTF_PROC fails Jorrit Herder 2005-07-27 14:32:16 +00:00
  • 28958cca35 Log device only suspendable now Ben Gras 2005-07-27 14:31:04 +00:00
  • ed6459b304 *** empty log message *** Ben Gras 2005-07-27 14:30:25 +00:00
  • b924ce0726 Prettify scheduling queue prints Ben Gras 2005-07-27 14:30:17 +00:00
  • 31042a5a05 Added SENDREC_BUSY flag to indicate that process is doing sendrec() - if so, alerts are not received before reply message. Ben Gras 2005-07-27 14:08:59 +00:00
  • a1a7ccbd02 alert()-aware revive/select in log device Ben Gras 2005-07-27 13:11:03 +00:00
  • e58db8b7f5 Values for alert revive/select callbacks Ben Gras 2005-07-27 13:09:38 +00:00
  • 08934187c9 FS understanding revives and selects as alerts (new notifies) Ben Gras 2005-07-27 13:08:52 +00:00
  • dd7220f234 Listen/accept. Read select for UDP. Philip Homburg 2005-07-27 12:07:12 +00:00
  • 3aadb79b1b 3 -> T_GETUSER Philip Homburg 2005-07-27 12:03:09 +00:00
  • aa994b48ee Do not accept requests from dead processes. Philip Homburg 2005-07-27 12:01:11 +00:00
  • e1f43abc09 Socket library Philip Homburg 2005-07-27 11:57:59 +00:00
  • 40b364a6db Added some error strings. Philip Homburg 2005-07-27 11:53:05 +00:00
  • 3ea637a096 More stack for ash. Philip Homburg 2005-07-27 11:49:52 +00:00
  • 93fc19de2c The priority of FS should be lower than that of PM to avoid race conditions when processes are killed due to a signal. Philip Homburg 2005-07-27 11:48:13 +00:00
  • df1dbb4b7e Prototypes for some string functions that are not part of the C standard. Philip Homburg 2005-07-27 11:44:26 +00:00
  • 501634d5ab Added EALREADY and EMSGSIZE. Philip Homburg 2005-07-27 11:43:28 +00:00
  • 920c462e8c Added {h,n}to{l,s} prototypes. Added IPPROTO_TCP. SA_FAMILY_T -> _SA_FAMILY_T Added SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SO_DEBUG, SO_ERROR. Philip Homburg 2005-07-27 11:42:54 +00:00
  • 055168bd31 Added ioctls for listen/accept. Added cookies for accept. Philip Homburg 2005-07-27 11:40:34 +00:00
  • dd1186d65d No RDY_Q_HEAD business.. Ben Gras 2005-07-27 07:01:46 +00:00
  • 2b810f6923 Prettier s_flags printing Ben Gras 2005-07-27 07:00:20 +00:00
  • 30d95cad82 Removed debug output. Jorrit Herder 2005-07-26 14:54:49 +00:00
  • a41eb700e8 Minor fixes and improvements for sys_call(). Jorrit Herder 2005-07-26 13:51:21 +00:00
  • fd4b7f7a1d test shouldn't install, only clean Ben Gras 2005-07-26 13:50:58 +00:00
  • eb18784690 . give users a boot floppy image (cdfdboot) they can use if they can't boot from CD (CD still required though) . no longer .tar.gz source on iso fs Ben Gras 2005-07-26 13:36:50 +00:00
  • ea6b3dded9 Top-level makefile didn't clean test Ben Gras 2005-07-26 13:34:45 +00:00
  • 10aa135d82 Minor cdprobe message additions; usyslogd logs shorter lines Ben Gras 2005-07-26 13:23:13 +00:00
  • fe3a7d6b5a MINIX 3, not MINIX3 Ben Gras 2005-07-26 13:16:07 +00:00
  • 8dc4bd43d4 Setup, not setupcd any more Ben Gras 2005-07-26 13:15:27 +00:00
  • 2293ccfc45 Small fix Ben Gras 2005-07-26 13:14:59 +00:00
  • e110ef62e3 Rename setupcd.sh to setup.sh Ben Gras 2005-07-26 13:14:36 +00:00
  • 8e8593d1bf Rename setupcd.sh to setup.sh, setup.sh to floppysetup.sh Ben Gras 2005-07-26 13:14:12 +00:00
  • 435dd377ed Added an IDENTIFIED flag that is set on successfully identified drives. This avoids the bug scenario where DEAF but not-w_identify()d drives are never properly identified, but are seen as real devices. Ben Gras 2005-07-26 13:11:16 +00:00
  • 4bf6edfd14 Framework (and some functionality) for new server ... Work in progress ... Jorrit Herder 2005-07-26 13:08:57 +00:00
  • 2bb508a71c Removed implicit call to 'make depend' on 'make install' ... Jorrit Herder 2005-07-26 12:51:35 +00:00
  • b62817d788 *** empty log message *** Jorrit Herder 2005-07-26 12:50:41 +00:00
  • a63d324caa Small update to shared driver code: SYS_EVENT (signal) is now known. Fixed drivers. HARD_STOP message no longer exists. Jorrit Herder 2005-07-26 12:50:25 +00:00
  • 3d0b9140f2 Updated F4 dump at IS to include send masks. Removed unused constant from fproc.h Changed signal behaviour at PM (work in progress) Jorrit Herder 2005-07-26 12:49:35 +00:00
  • 8866b4d0ef Kernel changes: - reinstalled priority changing, now in sched() and unready() - reinstalled check on message buffer in sys_call() - reinstalled check in send masks in sys_call() - changed do_fork() to get new privilege structure for SYS_PROCs - removed some processes from boot image---will be dynamically started later Jorrit Herder 2005-07-26 12:48:34 +00:00
  • 153fdabb26 Fixed do_trace to properly return (status) information. Philip Homburg 2005-07-25 12:15:05 +00:00
  • 06c8f33853 Defined base numbers for DEV_ request and response types. Defined response codes: DEV_REPLY, DEV_CLONED, DEV_REVIVE, DEV_IO_READY Jorrit Herder 2005-07-25 12:03:00 +00:00
  • 38987ff79a SIGSTOP being in _NSIG nowadays caused test8 to break - fixed. Ben Gras 2005-07-24 14:06:42 +00:00
  • 154cd91888 *** empty log message *** Ben Gras 2005-07-24 12:55:41 +00:00
  • 2283a4e5c3 Let writeisofs write files longer than 11 chars Ben Gras 2005-07-24 01:18:39 +00:00
  • 4ede86f51b Yet more readme and install script updates Ben Gras 2005-07-24 01:18:09 +00:00
  • 4e38cf12b3 Redirect touch stderr to /dev/null, error is unlikely and harmless in normal conditions but certain and irritating and harmless when booting from cd Ben Gras 2005-07-24 01:17:32 +00:00
  • 9d1772baf8 Various autopart fixes, and new delete-partition feature Ben Gras 2005-07-24 01:16:51 +00:00
  • 8dd28a9a7c install script fixes - mkfs block size, autopart invocation Ben Gras 2005-07-24 01:16:37 +00:00
  • 651349d6d2 Made line endings CRLF Ben Gras 2005-07-23 20:17:43 +00:00
  • d40bd43e46 Added a README.TXT for on the ISO filesystem (so people can see something when it's opened in e.g. Windows). Ben Gras 2005-07-23 20:17:16 +00:00
  • e4b4ec7128 Fixes to autopart. Ben Gras 2005-07-23 19:57:13 +00:00
  • 4f59e540e1 Updates to /usr/etc/rc to deal with the new cd probing logic; ast@'s new motd Ben Gras 2005-07-22 18:38:48 +00:00
  • 919cb00bbc Funny depend behaviour fixed Ben Gras 2005-07-22 18:38:20 +00:00
  • b5a5d3ec1c new svrctl SETPARAM to set or override environment variables obtained from the boot monitor Ben Gras 2005-07-22 18:37:33 +00:00
  • 08578c6afb Removed funny debug printf Ben Gras 2005-07-22 18:36:42 +00:00
  • 71e6680b80 Third-oldest image is thrown away instead of oldest, if there are at least 4 images. (Oldest is kept.) Ben Gras 2005-07-22 18:36:19 +00:00
  • 12618851ad Boot monitor setting of device _names_ no longer necessary Ben Gras 2005-07-22 18:31:19 +00:00
  • b9e585c81c autopart, setupcd updates Ben Gras 2005-07-22 18:30:40 +00:00
  • d5516193f3 Imported treecmp Ben Gras 2005-07-22 18:30:23 +00:00
  • 3a68bd323a Imported indent Ben Gras 2005-07-22 18:30:14 +00:00
  • ca80161f40 . Junk-filling gap+stack code on exec() if enabled (not enabled now) . Allow 'boot monitor' variable changes and additions by svrctl call Ben Gras 2005-07-22 18:29:58 +00:00
  • 6e8f484b3b . added cd-probe logic; tries to find the right root filesystem if the boot monitor parameter is set. it also sets a boot monitor parameter (by talking to the PM) so userland knows it. . ramdisk copy code made slightly smarter . various select() prettifications (work in progress) Ben Gras 2005-07-22 18:28:32 +00:00
  • f73af8573a Some bugs in memory driver fixed (destination address of user buffer not updated) Ben Gras 2005-07-22 18:25:06 +00:00
  • d09f170abc Nits here and there. Made log device buffer messages again. Ben Gras 2005-07-22 18:24:17 +00:00
  • b9b334c38c Functionality moved from IS to LOG driver. Jorrit Herder 2005-07-22 11:05:56 +00:00
  • 954865e389 *** empty log message *** Jorrit Herder 2005-07-22 09:59:37 +00:00
  • 80816ab001 *** empty log message *** Jorrit Herder 2005-07-22 09:20:43 +00:00
  • e2b05e4f55 *** empty log message *** Jorrit Herder 2005-07-21 18:37:19 +00:00
  • f0594a9e6d - Fixed comments in various system call handlers. Work in progress on new sys_privctl() call to dynamically start servers and drivers. Jorrit Herder 2005-07-21 18:36:40 +00:00
  • 8d3e390bda Added new BASE_MEM_TOP to restrict sys_vircopy() calls from BIOS. Updated comments at PRINTF_PROC --- it works again. Jorrit Herder 2005-07-21 18:32:49 +00:00
  • 808202ee30 Removed printing functionality from IS server. This functionality is now provided by the LOG driver. Jorrit Herder 2005-07-21 18:31:27 +00:00
  • 09830fc33e Allowed printing diagnostic messages (either from system processes or the kernel) to the log driver. The log driver forwards such output to the TTY. Jorrit Herder 2005-07-21 18:29:52 +00:00
  • da9b8e45f9 Added dev2name - translate (minor,major) device numbers, or (minor|major<<..) device number, to /dev/* node name. Ben Gras 2005-07-21 13:17:56 +00:00
  • b343c18712 Added presz134.zip to go on install cd, modified release script to do it Ben Gras 2005-07-21 08:35:06 +00:00
  • 43ac66556e *** empty log message *** Jorrit Herder 2005-07-20 15:34:13 +00:00
  • ee509198a2 Removed 'tracing' flag from sys_exec. Logic is now local to PM. Changed variable names in timers libary. Wrote new comments for timers.h header file with explanation. Jorrit Herder 2005-07-20 15:33:54 +00:00
  • d2d975246d Kernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit. Jorrit Herder 2005-07-20 15:28:05 +00:00
  • f1153541c7 Fixed bug in PM that caused update program not to be scheduled, so that sync was not periodically run. Chain of timers was accidentially broken. Jorrit Herder 2005-07-20 15:27:42 +00:00
  • c0718054e9 Various fixes and improvements. - fixed bug that caused IDLE to panic (irq hook inconsistency); - kprintf() now accepts multiple arguments; moved to utility.c; - prepare_shutdown() signals system processes with SIGKSTOP; - phys_fill() renamed to phys_memset(), argument order changed; - kmemset() removed in favor of phys_kmemset(); - kstrncpy() removed in favor of phys_copy(); - katoi, kstrncmp replaced by normal library procedure again; - rm_irq_handler() interface changed (simply pass hook pointer); Jorrit Herder 2005-07-20 15:25:38 +00:00
  • f8af4da472 Fixed bug that caused booting being aborted in some cases (e.g. after ls). Ben Gras 2005-07-20 15:16:53 +00:00
  • d5d9764dbb Uninitialised field at init Ben Gras 2005-07-20 14:04:19 +00:00
  • 398119f873 Another test case for select - ptys (when implemented) Ben Gras 2005-07-19 16:03:39 +00:00
  • 7c91a50061 Openpty() manpage Ben Gras 2005-07-19 16:02:39 +00:00
  • 0f48b1885d new -lutil, only openpty() for now Ben Gras 2005-07-19 16:01:37 +00:00
  • d740cce24d Header file for new -lutil (naming from freebsd) Ben Gras 2005-07-19 16:01:20 +00:00
  • c24f72d433 Made phys_fill fill its 4-byte pattern any number of bytes (instead of rounded down to a 4-byte multiple) Ben Gras 2005-07-19 16:00:25 +00:00
  • 1d7bdd4ab1 *** empty log message *** Jorrit Herder 2005-07-19 15:01:47 +00:00
  • b3a28466bb *** empty log message *** Jorrit Herder 2005-07-19 14:03:21 +00:00
  • 5594b767c0 Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util Jorrit Herder 2005-07-19 13:21:51 +00:00
  • 0129d98ae1 Added new signal types for kernel events: - SIGKMESS: new kernel message (sent to TTY, IS, or LOG) - SIGKSTOP: MINIX is shut down (sent to TTY-> switch to primary console) - SIGKSIG: kernel signals pending (sent to PM) Jorrit Herder 2005-07-19 12:24:51 +00:00
  • 198c976f7e System processes can be signaled; signals are transformed in SYS_EVENT message that passes signal map along. This mechanisms is also used for nonuser signals like SIGKMESS, SIGKSTOP, SIGKSIG. Jorrit Herder 2005-07-19 12:21:36 +00:00
  • f8c380c195 Small update to random number generator Philip Homburg 2005-07-19 12:16:55 +00:00
  • 488b2afc12 System processes started via servers=... boot monitor parameter are now daemonized (instead of SIGNON procedure at PM). Jorrit Herder 2005-07-19 12:14:10 +00:00
  • 8c024e28a1 Changed Makefiles: drivers are now installed in /usr/sbin. TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP). Jorrit Herder 2005-07-19 12:12:48 +00:00
  • f2e16763e7 Removed PM signon for INET. Now daemonized in /usr/etc/rc. SIGTRAP generated in PM (where it belongs / no longer in kernel). Updated Makefiles: servers are now installed in /usr/sbin. Jorrit Herder 2005-07-19 12:11:11 +00:00
  • 7d4e914618 Random number generator Philip Homburg 2005-07-18 15:40:24 +00:00
  • 3eb405c3bf Fixed two uninitialized-data bugs. Ben Gras 2005-07-18 13:44:39 +00:00
  • 1f756d377a Made memset system call listen to character argument Ben Gras 2005-07-18 12:31:11 +00:00
  • 42e6d20afe Changed phys_zero to phys_fill, which accepts a 4-byte argument saying what to fill with. Changed prototype and call to match. Ben Gras 2005-07-18 12:18:16 +00:00