9392dde997bugfix
Ben Gras
2005-06-06 11:31:20 +0000
c281867f46Fixed 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
f2a85e58d9Various 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
4904a5537aprocess manager must be able to send to rtl driver
Ben Gras
2005-06-03 09:02:19 +0000
308d9a693cprettified 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
d0b5cf84cbUndid 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
e782e76944Created 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
f926f1209dMinor commit to remove conflict with update.
Jorrit Herder
2005-06-01 14:34:59 +0000
6d23f072f3Cleaned 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
75689debe3fixed bug that caused number of inodes to make estimation to be terrible in most cases
Ben Gras
2005-06-01 11:39:45 +0000
0d31130d29Make needs a little more memory
Ben Gras
2005-06-01 11:14:08 +0000
25d2f4666cRemoved mm files (obsolete; it's pm now)
Ben Gras
2005-06-01 09:40:42 +0000
bd12703b76Able to dump lock()/unlock() timing data
Ben Gras
2005-06-01 09:40:27 +0000
66dab193f3function key notifications became notifies fix
Ben Gras
2005-06-01 09:40:02 +0000
447b988154exec 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
c977bd8709Added 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
b4335679cbAdded 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
dfe2b4513fMoved timing structs around to be more standard
Ben Gras
2005-06-01 09:34:37 +0000
e0ffcdadd1Added support for lock()/unlock() timing registration; also phys_zero system call
Ben Gras
2005-06-01 09:34:18 +0000
39a2fc72dddifferent 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
a3d2f35993Fixed minor bug in PM's child time administration.
Jorrit Herder
2005-06-01 08:55:22 +0000
5a43b84e2dFix 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
0165662cd9Replaced 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
e673eeee20compile fixes for kermit and postmort
Ben Gras
2005-05-31 12:32:35 +0000
135328ac59Fixed some compiler warnings.
Ben Gras
2005-05-31 11:14:37 +0000
9e5e6e7b51Reverse trailer/delay order (delay first)
Ben Gras
2005-05-31 11:11:47 +0000
322ec9ef8bMoved 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
cd72f80639Disabled 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
5927788cddAdded '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
b421423c77SENDREC 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
826fee4c6dFixed 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
fcd113da7bImported kermit v2.11
Ben Gras
2005-05-30 10:55:32 +0000
9646824fceFixed PM send() failed warning: don't reply to killed process that did reboot.
Jorrit Herder
2005-05-30 09:29:48 +0000
ed54b1cd6aImproved shared device driver code: use SELF instead of 'getprocnr'.
Jorrit Herder
2005-05-30 08:51:23 +0000
8d9c0886cdCreated 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
07d582872fFixed 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
c2be104821Improved 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
77c3213948Optimized 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
dcffa17db2this 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
0899f82ab2Fixed some minor issues with the NOTIFY call.
Jorrit Herder
2005-05-24 14:35:58 +0000
70cdffcc18fixed compile breakage
Ben Gras
2005-05-24 13:18:29 +0000
804cb810d0added 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
0f55ebe90aInitialisation required for optional debugging code.
Ben Gras
2005-05-24 12:30:51 +0000
6a3519f3a8Added 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
6ea72ca1eeMake use of vectored virtual copy system call
Ben Gras
2005-05-24 12:28:09 +0000
4e155167c8sync after install in case of trouble while shutdowning
Ben Gras
2005-05-24 12:03:42 +0000
ccd17ecfedNew 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
80e38daeadfreed up use of name 'offset'
Ben Gras
2005-05-20 13:27:38 +0000
64ecaca24bChanged 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
cafbbedbbaFix 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
e5a694b126Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment.
Ben Gras
2005-05-20 12:30:37 +0000
f8bd2691ecRemoved 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
cff515edd8made 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
d0a5a5d007New 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
307c825515New 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
129b82d207Added 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
1cb880b158Intermediate update---please await next commit.
Jorrit Herder
2005-05-19 09:36:44 +0000
614f49b557Fixed some comments and reorganized some code. Fixed minor bug in notify() function.
Jorrit Herder
2005-05-18 10:36:23 +0000
821dfb06edMinor fixes. (Skip test 28 LINK_MAX links generation, it takes too long.)
Ben Gras
2005-05-17 08:40:32 +0000
b42be3741bpre-release cleanup nit
Ben Gras
2005-05-13 14:57:29 +0000
454c3449b3Oops, set hash table size to non-power-of-two
Ben Gras
2005-05-13 14:57:09 +0000
33bc71c3f5Don't cache /dev/ram blocks
Ben Gras
2005-05-13 13:42:07 +0000
7f52483b9fRelease process to use and create 16MB root; FS setcache call removed
Ben Gras
2005-05-13 12:47:35 +0000
d422461289Started rs232 porting to userland; increased version number for new cd.
Ben Gras
2005-05-13 12:29:10 +0000
e248f7c1a3If 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
6f9848f51cAdded 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
b480fa7c18removed dead code bits
Ben Gras
2005-05-13 11:45:12 +0000
78fd966125DONT_SWAP not used
Ben Gras
2005-05-13 11:44:16 +0000
49b86f3373Fixed tick_delay; it now reschedules a previous synchronous alarm.
Jorrit Herder
2005-05-13 09:33:53 +0000
1ecc6bf3b3Removed 'system process' magic from PM and FS.
Jorrit Herder
2005-05-13 08:57:08 +0000
2ed3e3d79aminor boot floppy beautifications
Ben Gras
2005-05-12 16:07:31 +0000
873e44b41fSome #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
fad180960fadded code to un-register tty's interrupt at exit time; fixed compiler warnings
Ben Gras
2005-05-12 16:03:43 +0000
fbe1641bd3User-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
ab39ce451bFixed 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
96e9faf535userlandified and enabled PTY's
Ben Gras
2005-05-09 14:35:26 +0000
286a541c92Make output of partition visible
Ben Gras
2005-05-09 13:40:54 +0000
f3982bb3dfhide non-copying install Makefile actions
Ben Gras
2005-05-09 13:40:08 +0000
9d93a8eadechanged [skip]ped tests to start working, even with the large LINK_MAX
Ben Gras
2005-05-09 13:39:23 +0000
3afa217777Fixed compiler warnings about kprintf() argument
Ben Gras
2005-05-09 08:54:18 +0000
4590b95041Hide messages about install (changing stack+data size)
Ben Gras
2005-05-09 08:52:21 +0000