Commit Graph

  • d844d2a547 Fixed nasty bug that would cause FS to loop forever in rw_scattered (while syncing, for instance) if blocks are unwritable. This could happen if: Ben Gras 2005-06-19 22:33:49 +0000
  • 34a9677a5b Made mkfs a little smarter about how to report empty devices. Ben Gras 2005-06-19 22:28:05 +0000
  • 9aae3002ed Made libpci recognize my pci controller at home (again) Ben Gras 2005-06-19 22:11:04 +0000
  • 6e99cc494d Fixed various nits in the make/release process. Ben Gras 2005-06-17 16:28:36 +0000
  • 5954c7e303 Part of fs timers library, forgot to add this in previous commit. Ben Gras 2005-06-17 13:49:56 +0000
  • 3ba1ddb037 Fixes for /root homedir. Ben Gras 2005-06-17 13:48:16 +0000
  • 39c90d6c90 Added (fake) readlink(). Ben Gras 2005-06-17 13:47:29 +0000
  • ed2a024d47 Select test-set imported from the minix contributions, with permission to modify and distribute from Jose Manuel Gomez, the author (jmgomez@linuxmail.org). Ben Gras 2005-06-17 13:45:40 +0000
  • f81ac6ae5c Various compile fixes. Ben Gras 2005-06-17 13:42:53 +0000
  • 47474b6341 Renamed commands to cmds - make is confused that the commands directory exists. Ben Gras 2005-06-17 13:42:06 +0000
  • 9664ba0c4f Started select() implementation. Ben Gras 2005-06-17 13:41:12 +0000
  • 471e0448c3 Changed timer library function args. Ben Gras 2005-06-17 13:37:41 +0000
  • 3c7120d830 Changed arguments of timer library functions. Ben Gras 2005-06-17 13:36:01 +0000
  • 2f25279105 Started select() manpage. Ben Gras 2005-06-17 13:35:21 +0000
  • c40770ce68 Various select() support flags, prototypes, definitions. Ben Gras 2005-06-17 13:34:47 +0000
  • 2f588c50ea Added back boot banner for CD Ben Gras 2005-06-17 13:25:06 +0000
  • 7279bb68ef Applied MINIX 2.0.4 pathes provides by Al Woodhull. Jorrit Herder 2005-06-17 13:00:04 +0000
  • 330d7eba56 Updated boot monitor help menu. Jorrit Herder 2005-06-17 11:52:55 +0000
  • b7c75fab5b Added dummy readlink() call that returns an error (we don't have symlinks yet) Ben Gras 2005-06-17 11:43:24 +0000
  • ae018feae2 Removed unnecessary call to unlock() from exception(). Jorrit Herder 2005-06-17 09:50:12 +0000
  • 47e3d11e42 Fixed code passed to boot monitor after shutdown. Jorrit Herder 2005-06-17 09:40:02 +0000
  • 4b887108eb Removed duplicate 'done' output after calling readall. Jorrit Herder 2005-06-17 09:36:08 +0000
  • f88e71c9d8 *** empty log message *** Jorrit Herder 2005-06-17 09:34:44 +0000
  • 108d993201 Capitalized output. Jorrit Herder 2005-06-17 09:33:00 +0000
  • 36c3091342 *** empty log message *** Jorrit Herder 2005-06-17 09:15:39 +0000
  • 37a1e3f8e3 Removed mem chunks dump. (No longer available from kernel.) Jorrit Herder 2005-06-17 09:13:32 +0000
  • 92f9bd02f8 Parsing of free memory chunks is now done at the process manager. Jorrit Herder 2005-06-17 09:10:30 +0000
  • e0a98a4d65 * Fixed bug relating to nested locking in interrupt handlers. The nested lock caused interrupts to be reenabled (due to unlock), which caused a race. The problems were especially visible on slower machines. * Relocated free memory parsing to process manager. This saved quite some code at the kernel level. Text size was reduced by about 650 bytes. * Removed locks for updating the realtime in the clock's main loop and the get_uptime function. Interrupts are no longer reentrant, so realtime is immediately updated. Jorrit Herder 2005-06-17 09:09:54 +0000
  • 90b80ad31e Relocated echo "Multiuser startup in progress ..." to top. Jorrit Herder 2005-06-17 09:00:31 +0000
  • 4a2817cea1 Changed uname to retrieve actual OS release and version number at runtime. Jorrit Herder 2005-06-17 08:53:33 +0000
  • f673723b1f Minor changes in PM interface affected these commands. Getty now retrieves the actual release and version number at runtime. Jorrit Herder 2005-06-17 08:52:53 +0000
  • 8621d392b0 Fixed typo in run output; Reduced NR_ITERATIONS for tests dealing with MAX_LINKS. Jorrit Herder 2005-06-17 08:51:28 +0000
  • 85f2038c7c Undid \c from default leader and trailer Ben Gras 2005-06-17 08:00:13 +0000
  • dc23e18cef Improved compatibility with other Unix systems. Philip Homburg 2005-06-10 15:12:03 +0000
  • d9b609c70f Hack for buffer overflow, should be fixed properly. Philip Homburg 2005-06-08 11:05:27 +0000
  • c2cd510adf Removed debug dumps from the PM and FS servers. The dumps are now done by the IS servers, which obtains a copy of the data through the getsysinfo() system call. CTRL-F1 now is a special TTY key to shows function key mappings. Jorrit Herder 2005-06-07 14:43:35 +0000
  • 4de736535c fix for ~root being / and buggering up system with chroot -R Ben Gras 2005-06-07 13:33:57 +0000
  • 0e2a7a9730 Kernel cleanup. Reduced kernel size by 512KB by moving private buffer into cstart() function. Replaced assertions with erroneous return values. Removed assertions relating to isuserp(rp), since all processes should become user processes; system processes are now treated similar to other processes. Jorrit Herder 2005-06-07 12:34:25 +0000
  • bb2ef4e039 Added welcome message to POSIX test suite. Jorrit Herder 2005-06-07 11:52:35 +0000
  • b658df42d0 Use relative paths. Philip Homburg 2005-06-06 16:18:05 +0000
  • aca763443a removed debug message Ben Gras 2005-06-06 14:58:47 +0000
  • 2f74381dcc Fixed 'ps' utility: now get process table addresses with getsysinfo() calls. To be done: get copies of process tables instead of using /dev/(k)mem. Jorrit Herder 2005-06-06 13:51:50 +0000
  • cde16504a1 check relaxation for bios memory Ben Gras 2005-06-06 11:54:58 +0000
  • e44e9ad261 small compile fixes; initial select() stubs; release.sh script doesn't need /tmp any more since 16MB root device; increase to 3.0.5 to make new CD with working FXP driver. (not tagged 3.0.5 yet as at driver bios-copy workaround hasn't been done.) Ben Gras 2005-06-06 11:40:32 +0000
  • 9392dde997 bugfix Ben Gras 2005-06-06 11:31:20 +0000
  • c281867f46 Fixed bug relating to FS and MEMORY during startup; Relocated some syslib functions to utils library; Changed location of 'Multiuser startup ..." echo in /etc/rc Jorrit Herder 2005-06-06 09:30:44 +0000
  • f2a85e58d9 Various updates. * Removed some variants of the SYS_GETINFO calls from the kernel; replaced them with new PM and utils libary functionality. Fixed bugs in utils library that used old get_kenv() variant. * Implemented a buffer in the kernel to gather random data. Memory driver periodically checks this for /dev/random. A better random algorithm can now be implemented in the driver. Removed SYS_RANDOM; the SYS_GETINFO call is used instead. * Remove SYS_KMALLOC from the kernel. Memory allocation can now be done at the process manager with new 'other' library functions. Jorrit Herder 2005-06-03 13:55:06 +0000
  • 4904a5537a process manager must be able to send to rtl driver Ben Gras 2005-06-03 09:02:19 +0000
  • 308d9a693c prettified rtl driver: . no more kmalloc . no more umaps + physcopies / abscopies . the status register is directly readable from the drivers own address space now, and no physcopy is needed to read it . map+physcopy call combinations are replaced by vircopy calls Ben Gras 2005-06-03 08:59:54 +0000
  • d0b5cf84cb Undid usage of vector-copy function. It's a good idea but there's a bug there somewhere. I'll debug first, then recommit. Ben Gras 2005-06-02 16:49:33 +0000
  • e782e76944 Created new findproc system call to the PM (to replace similar kernel functionality). Currently working on memory allocation (not yet finished). Jorrit Herder 2005-06-02 12:43:21 +0000
  • f926f1209d Minor commit to remove conflict with update. Jorrit Herder 2005-06-01 14:34:59 +0000
  • 6d23f072f3 Cleaned up src/lib/utils library. Renamed server_ functions to more logical names. All system processes can now either use panic() or report() from libutils, or redefine their own function. Assertions are done via the standard <assert.h> functionality. Jorrit Herder 2005-06-01 14:31:00 +0000
  • 75689debe3 fixed bug that caused number of inodes to make estimation to be terrible in most cases Ben Gras 2005-06-01 11:39:45 +0000
  • 0d31130d29 Make needs a little more memory Ben Gras 2005-06-01 11:14:08 +0000
  • 25d2f4666c Removed mm files (obsolete; it's pm now) Ben Gras 2005-06-01 09:40:42 +0000
  • bd12703b76 Able to dump lock()/unlock() timing data Ben Gras 2005-06-01 09:40:27 +0000
  • 66dab193f3 function key notifications became notifies fix Ben Gras 2005-06-01 09:40:02 +0000
  • 447b988154 exec now uses phys_zero system call to zero bss segments (instead of using phys_copy to copy zeroes there for every kb), which is a big optimisation in some cases Ben Gras 2005-06-01 09:39:45 +0000
  • c977bd8709 Added args to lock() and unlock() to tell them apart, for use when lock timing is enabled in minix/config.h. Ben Gras 2005-06-01 09:37:52 +0000
  • b4335679cb Added sys_physzero library call for corresponding system call; modified system-printf() so it returns number of characters printed (for use in smart formatting) Ben Gras 2005-06-01 09:36:07 +0000
  • dfe2b4513f Moved timing structs around to be more standard Ben Gras 2005-06-01 09:34:37 +0000
  • e0ffcdadd1 Added support for lock()/unlock() timing registration; also phys_zero system call Ben Gras 2005-06-01 09:34:18 +0000
  • 39a2fc72dd different way of dealing with fd's so chmem <arg> <long list of files> doesn't fail due to file descriptor leaks Ben Gras 2005-06-01 09:31:14 +0000
  • a3d2f35993 Fixed minor bug in PM's child time administration. Jorrit Herder 2005-06-01 08:55:22 +0000
  • 5a43b84e2d Fix for 'the kermit problem' (keyrepeats happening before the keyrepeat timeout). A fix is to treat the alarm and interrupt cases differently and only call the interrupt handler when an actual interrupt has been seen. No apparent adverse effects. Ben Gras 2005-05-31 15:22:06 +0000
  • f0af8d85e7 *** empty log message *** Jorrit Herder 2005-05-31 14:44:49 +0000
  • 0165662cd9 Replaced flagalrm() timers with another technique to check for timeouts. This allowed removing the p_flagarlm timer from the kernel's process table. Furthermore, I merged p_syncalrm and p_signalrm into p_alarm_timer to save even more space. Note that processes can no longer have both a signal and synchronous alarm timer outstanding as of now. Jorrit Herder 2005-05-31 14:43:04 +0000
  • e673eeee20 compile fixes for kermit and postmort Ben Gras 2005-05-31 12:32:35 +0000
  • 135328ac59 Fixed some compiler warnings. Ben Gras 2005-05-31 11:14:37 +0000
  • 9e5e6e7b51 Reverse trailer/delay order (delay first) Ben Gras 2005-05-31 11:11:47 +0000
  • ea46d51176 Added time.c Jorrit Herder 2005-05-31 10:57:19 +0000
  • 322ec9ef8b Moved stime, time, times POSIX calls from FS to PM. Removed child time accounting from kernel (now in PM). Large amount of files in this commit is due to system time problems during development. Jorrit Herder 2005-05-31 09:50:51 +0000
  • cd72f80639 Disabled clearing screen in tty driver, started console printing after an initial 1-line scroll at last line. If clearing screen in trailer of boot monitor is disabled, all previous boot monitor and console messages are preserved on rebooting. Ben Gras 2005-05-30 15:09:51 +0000
  • 5927788cdd Added 'bootdelay' feature in boot monitor, it pauses a given number of ms so the list of programs in the image and their sizes can be seen before the kernel starts filling the screen. Ben Gras 2005-05-30 15:02:52 +0000
  • b421423c77 SENDREC now always has flag FRESH_ANSWER to prevent pending notifications to be used as answer to a SENDREC call. Jorrit Herder 2005-05-30 11:11:40 +0000
  • 826fee4c6d Fixed clear_proc(): properly release resources (IRQ hooks, notify buffers); Cleaned up comments in proc.c (old code still present for comparison); Jorrit Herder 2005-05-30 11:05:42 +0000
  • fcd113da7b Imported kermit v2.11 Ben Gras 2005-05-30 10:55:32 +0000
  • 9646824fce Fixed PM send() failed warning: don't reply to killed process that did reboot. Jorrit Herder 2005-05-30 09:29:48 +0000
  • ed54b1cd6a Improved shared device driver code: use SELF instead of 'getprocnr'. Jorrit Herder 2005-05-30 08:51:23 +0000
  • 852008d669 Kinfo counts lock_notify() and lock_send() calls. Jorrit Herder 2005-05-27 14:54:40 +0000
  • 8d9c0886cd Created ECHO system call for testing purposes. Furthermore, a quick way to get one's own process number. Jorrit Herder 2005-05-27 13:57:00 +0000
  • 07d582872f Fixed a bug in PM: sending of reply messages didn't check if destination process is still alive. This caused a panic in some situations, e.g., when all processes are killed on a shutdown. Jorrit Herder 2005-05-27 13:10:58 +0000
  • c2be104821 Improved NOTIFY system: fixed a minor error, ignore pending notifications on SENDREC system calls. To be done: resource (buffer pool) management; make it structurally impossible to run out of buffers. Jorrit Herder 2005-05-27 12:44:14 +0000
  • 77c3213948 Optimized scheduling code. Old code is still available withing DEAD_CODE and NEW_SCHED_Q definitions. Some minor problems are being traced at the moment. This commit is meant to backup my files. --- Jorrit Jorrit Herder 2005-05-26 13:17:57 +0000
  • dcffa17db2 this test breaks on the new pre-i/o i/o buffer check. it wants to read more than its buffer allowed, so it is reasonable that it breaks. reducing read request size 'fixes' it. Ben Gras 2005-05-24 14:57:45 +0000
  • 0899f82ab2 Fixed some minor issues with the NOTIFY call. Jorrit Herder 2005-05-24 14:35:58 +0000
  • 70cdffcc18 fixed compile breakage Ben Gras 2005-05-24 13:18:29 +0000
  • 804cb810d0 added a debugging functionality in system/debugging.c (to check sanity of run queues) and associated prototype in system.h Ben Gras 2005-05-24 12:33:03 +0000
  • 168b7f2669 . fixed a recently introduced scheduler (run-queue) bug in proc.c . a little (optional) debugging code added to proc.c and associated data in proc.h Ben Gras 2005-05-24 12:32:34 +0000
  • 0f55ebe90a Initialisation required for optional debugging code. Ben Gras 2005-05-24 12:30:51 +0000
  • 6a3519f3a8 Added 2 checks to mapping function - one for overflow (virtual address + size wraparound), one to see if the size fits in the designated segment. Ben Gras 2005-05-24 12:30:29 +0000
  • 6ea72ca1ee Make use of vectored virtual copy system call Ben Gras 2005-05-24 12:28:09 +0000
  • 4e155167c8 sync after install in case of trouble while shutdowning Ben Gras 2005-05-24 12:03:42 +0000
  • ccd17ecfed New NOTIFY system call! Queued at kernel. Duplicate messages (with same source and type) are overwritten with newer flags/ arguments. The interface from within the kernel is lock_notify(). User processes can make a system call with notify(). NOTIFY fully replaces the old notification mechanism. Jorrit Herder 2005-05-24 10:06:17 +0000
  • 80e38daead freed up use of name 'offset' Ben Gras 2005-05-20 13:27:38 +0000
  • 64ecaca24b Changed something in default no. of inodes in mkfs (I run out of inodes often with the defaults). Ben Gras 2005-05-20 12:40:46 +0000
  • cafbbedbba Fix to let FXP driver send messages. Removed banner talking about the known hang-bug (it's fixed, practically speaking). Ben Gras 2005-05-20 12:39:36 +0000
  • e5a694b126 Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment. Ben Gras 2005-05-20 12:30:37 +0000
  • f8bd2691ec Removed root filesystem blocksize restriction by reducing boot monitor stack size from 16kB to 8kB. No apparent adverse affects. Ben Gras 2005-05-20 12:30:19 +0000