Commit graph

  • 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
  • cff515edd8 made time use times() system call to get higher resolution (1/60s clock ticks instead of 1s) for real time measurement. Ben Gras 2005-05-20 10:06:33 +0000
  • d0a5a5d007 New system call added to PM: getprocnr(int *proc_nr) (like getpid); Minor update to scheduling code (unready(). Jorrit Herder 2005-05-20 09:37:43 +0000
  • 307c825515 New NOTIFY trap (IPC call) to send queued notification messages. The call works. Permission check, restriction of outstanding notifications to be added. Low level code to make it work from within interrupt handlers will be added as well. Jorrit Herder 2005-05-19 14:05:51 +0000
  • 129b82d207 Added fxp driver for the Intel Pro/100 series ethernet cards Print PC in hex for easier debugging. Philip Homburg 2005-05-19 13:27:05 +0000
  • 2ebe535030 *** empty log message *** Jorrit Herder 2005-05-19 09:38:29 +0000
  • 1cb880b158 Intermediate update---please await next commit. Jorrit Herder 2005-05-19 09:36:44 +0000
  • 614f49b557 Fixed some comments and reorganized some code. Fixed minor bug in notify() function. Jorrit Herder 2005-05-18 10:36:23 +0000
  • 821dfb06ed Minor fixes. (Skip test 28 LINK_MAX links generation, it takes too long.) Ben Gras 2005-05-17 08:40:32 +0000
  • b42be3741b pre-release cleanup nit Ben Gras 2005-05-13 14:57:29 +0000
  • 454c3449b3 Oops, set hash table size to non-power-of-two Ben Gras 2005-05-13 14:57:09 +0000
  • 33bc71c3f5 Don't cache /dev/ram blocks Ben Gras 2005-05-13 13:42:07 +0000
  • 7f52483b9f Release process to use and create 16MB root; FS setcache call removed Ben Gras 2005-05-13 12:47:35 +0000
  • d422461289 Started rs232 porting to userland; increased version number for new cd. Ben Gras 2005-05-13 12:29:10 +0000
  • e248f7c1a3 If the file (created by setup) exists, use boot parameters from there for the boot floppy instead of copying it from the current root partition. This makes making a boot floppy at installation time before booting from the new system possible (conveniently). Ben Gras 2005-05-13 12:27:42 +0000
  • 6f9848f51c Added feature to remember root parameter in /usr/src/tools, so make fdboot will know how to make a boot floppy before actually booting from the new system. Ben Gras 2005-05-13 12:26:40 +0000
  • b480fa7c18 removed dead code bits Ben Gras 2005-05-13 11:45:12 +0000
  • 78fd966125 DONT_SWAP not used Ben Gras 2005-05-13 11:44:16 +0000
  • 49b86f3373 Fixed tick_delay; it now reschedules a previous synchronous alarm. Jorrit Herder 2005-05-13 09:33:53 +0000
  • efa9c84c8b *** empty log message *** Jorrit Herder 2005-05-13 09:00:59 +0000
  • 95151cb265 Renamed header file. Jorrit Herder 2005-05-13 08:59:19 +0000
  • 1ecc6bf3b3 Removed 'system process' magic from PM and FS. Jorrit Herder 2005-05-13 08:57:08 +0000
  • 2ed3e3d79a minor boot floppy beautifications Ben Gras 2005-05-12 16:07:31 +0000
  • 873e44b41f Some #defines for removing registered irq handler Ben Gras 2005-05-12 16:07:15 +0000
  • d0c3e8f818 . added rm_irq_handler which un-links an irq handler from the linked list of handlers, callable by irqctl system call . workaround for hanging keyboard bug after shutdown.. if key is pressed during or after shutdown procedure, keyboard stops working. It looks like irq 1 gets stuck high if no keyboard reading is done (e.g. because the irq is masked or tty driver has exited). Workaround is to leave irqs enabled until the last second, and call shutdown() immediately after the last driver has stopped (tty task). This way the chance of an unserviced interrupt occuring is negligible. Ben Gras 2005-05-12 16:06:37 +0000
  • fad180960f added code to un-register tty's interrupt at exit time; fixed compiler warnings Ben Gras 2005-05-12 16:03:43 +0000
  • fbe1641bd3 User-space networking! - RTL8139 driver moved to user-space; - PCI code moved to user-space; Fixed IRQ hook dump at IS server. Jorrit Herder 2005-05-11 09:02:00 +0000
  • ab39ce451b Fixed some system call checks; Added SYS_PHYSVCOPY system call; Fixed IRQ hooks dump in IS server; Jorrit Herder 2005-05-10 11:06:24 +0000
  • 96e9faf535 userlandified and enabled PTY's Ben Gras 2005-05-09 14:35:26 +0000
  • 286a541c92 Make output of partition visible Ben Gras 2005-05-09 13:40:54 +0000
  • f3982bb3df hide non-copying install Makefile actions Ben Gras 2005-05-09 13:40:08 +0000
  • 9d93a8eade changed [skip]ped tests to start working, even with the large LINK_MAX Ben Gras 2005-05-09 13:39:23 +0000
  • 3afa217777 Fixed compiler warnings about kprintf() argument Ben Gras 2005-05-09 08:54:18 +0000
  • 4590b95041 Hide messages about install (changing stack+data size) Ben Gras 2005-05-09 08:52:21 +0000
  • e850c3f3c9 / install partition size 1440kB -> 16MB (ast) Ben Gras 2005-05-09 08:51:07 +0000
  • 6e01ae62ed rename run.sh to run (ast) Ben Gras 2005-05-09 08:44:55 +0000
  • a792c73c84 Made us a mighty pretty progress indicator for the setup script. Ben Gras 2005-05-09 08:38:47 +0000
  • d8c7bda04d Some permissions issues with installs fixed Ben Gras 2005-05-04 13:47:05 +0000
  • 0ca9e2958f *** empty log message *** Ben Gras 2005-05-04 13:46:34 +0000
  • d168530a06 installed some binaries in /bin too Ben Gras 2005-05-04 13:45:29 +0000
  • 1dbf315eb2 New message, typo Ben Gras 2005-05-04 13:43:57 +0000
  • 8f77022778 install scripts executable (even if they aren't in the working directory) Ben Gras 2005-05-04 09:37:12 +0000
  • e8973f33d4 *** empty log message *** Ben Gras 2005-05-04 09:31:54 +0000
  • 1475043cbd Notice Ben Gras 2005-05-04 09:31:32 +0000
  • 715274396f polish Ben Gras 2005-05-04 09:30:49 +0000