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 +00:00
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 +00:00
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 +00:00
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 +00:00
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 +00:00
0899f82ab2
Fixed some minor issues with the NOTIFY call.
Jorrit Herder
2005-05-24 14:35:58 +00:00
70cdffcc18
fixed compile breakage
Ben Gras
2005-05-24 13:18:29 +00:00
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 +00:00
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 +00:00
0f55ebe90a
Initialisation required for optional debugging code.
Ben Gras
2005-05-24 12:30:51 +00:00
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 +00:00
6ea72ca1ee
Make use of vectored virtual copy system call
Ben Gras
2005-05-24 12:28:09 +00:00
4e155167c8
sync after install in case of trouble while shutdowning
Ben Gras
2005-05-24 12:03:42 +00:00
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 +00:00
80e38daead
freed up use of name 'offset'
Ben Gras
2005-05-20 13:27:38 +00:00
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 +00:00
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 +00:00
e5a694b126
Added note to indicate how touchy MAX_BLOCK_SIZE is at the moment.
Ben Gras
2005-05-20 12:30:37 +00:00
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 +00:00
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 +00:00
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 +00:00
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 +00:00
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 +00:00
614f49b557
Fixed some comments and reorganized some code. Fixed minor bug in notify() function.
Jorrit Herder
2005-05-18 10:36:23 +00:00
821dfb06ed
Minor fixes. (Skip test 28 LINK_MAX links generation, it takes too long.)
Ben Gras
2005-05-17 08:40:32 +00:00
b42be3741b
pre-release cleanup nit
Ben Gras
2005-05-13 14:57:29 +00:00
454c3449b3
Oops, set hash table size to non-power-of-two
Ben Gras
2005-05-13 14:57:09 +00:00
33bc71c3f5
Don't cache /dev/ram blocks
Ben Gras
2005-05-13 13:42:07 +00:00
7f52483b9f
Release process to use and create 16MB root; FS setcache call removed
Ben Gras
2005-05-13 12:47:35 +00:00
d422461289
Started rs232 porting to userland; increased version number for new cd.
Ben Gras
2005-05-13 12:29:10 +00:00
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 +00:00
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 +00:00
b480fa7c18
removed dead code bits
Ben Gras
2005-05-13 11:45:12 +00:00
78fd966125
DONT_SWAP not used
Ben Gras
2005-05-13 11:44:16 +00:00
49b86f3373
Fixed tick_delay; it now reschedules a previous synchronous alarm.
Jorrit Herder
2005-05-13 09:33:53 +00:00
1ecc6bf3b3
Removed 'system process' magic from PM and FS.
Jorrit Herder
2005-05-13 08:57:08 +00:00
2ed3e3d79a
minor boot floppy beautifications
Ben Gras
2005-05-12 16:07:31 +00:00
873e44b41f
Some #defines for removing registered irq handler
Ben Gras
2005-05-12 16:07:15 +00:00
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 +00:00
fad180960f
added code to un-register tty's interrupt at exit time; fixed compiler warnings
Ben Gras
2005-05-12 16:03:43 +00:00
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 +00:00
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 +00:00
96e9faf535
userlandified and enabled PTY's
Ben Gras
2005-05-09 14:35:26 +00:00
286a541c92
Make output of partition visible
Ben Gras
2005-05-09 13:40:54 +00:00
1475043cbd
Notice
Ben Gras
2005-05-04 09:31:32 +00:00
715274396f
polish
Ben Gras
2005-05-04 09:30:49 +00:00
c8bd5db02e
/boot and /minix -> /boot/boot and /boot/image changes
Ben Gras
2005-05-04 09:29:52 +00:00
8fbefdeddc
Made building of homedirs actually work ($ -> $$ makefile/shell variable issue)
Ben Gras
2005-05-04 09:29:24 +00:00
0659fe8d99
fixed compile warning
Ben Gras
2005-05-04 09:28:58 +00:00
427727ed1f
mm -> pm fixes
Ben Gras
2005-05-04 09:28:37 +00:00
7dfa3c595b
mm -> pm fixes
Ben Gras
2005-05-04 09:27:47 +00:00
8cd654f94f
Made setup.sh more CD-aware (understand that the system looks like an installed system already, but isn't).
Ben Gras
2005-05-03 15:43:12 +00:00
0e859fd436
Must be able to run FP.compile if FP.compile isn't an executable script.
Ben Gras
2005-05-03 15:41:39 +00:00
9748a6536e
Fixed an mtree bugs that caused permissions and ownerships for / to be wrong.
Ben Gras
2005-05-03 15:41:02 +00:00
6b500b03a6
Raised version to 3.0.2 in config.h
Ben Gras
2005-05-03 15:39:41 +00:00
27b7e7c72e
Device variables get copies of their contents in *_n variables for scripts that want the device name (as opposed to the number for the kernel).
Ben Gras
2005-05-03 15:38:41 +00:00
5415e8280f
More polishing to the boot and release process. Highlights: . Less dependency on scripts to be executable (they're in cvs) . issue.install is the /etc/issue that goes on an install CD for instructions (but not on the installed system) . /usr/src goes on the CD uncompressed
Ben Gras
2005-05-03 15:37:34 +00:00
0e9261ed5a
Rename mm (memory manager) to pm (process manager), involved renaming dir..
Ben Gras
2005-05-03 15:35:52 +00:00
83ef55e301
Fixed compile break (no install target)
Ben Gras
2005-05-03 09:15:37 +00:00
4fc24ad58f
Fixed clean target a little more
Ben Gras
2005-05-03 09:05:17 +00:00
6a335043f6
bugfix from jnherder
Ben Gras
2005-05-03 09:03:55 +00:00
81c1b9d76d
. FS: removed half-baked stack trace code . inet: removed silly error message from inet that ends up in the console regularly . Makefile: added some files to the incomplete clean target
Ben Gras
2005-05-03 09:02:47 +00:00
9014d98bbf
made 2 error messages less ambiguous
Ben Gras
2005-05-03 08:59:13 +00:00
efa2322895
. Moved sysenv to /bin (as well), used to read some boot parameters in /etc/rc before /usr is mounted . fixed ps.c compile breakage (MM_PROC_NR rename) . made setup.sh a little less floppy-centric (cosmetic) . removed ps binary from cvs (whoops!)
Ben Gras
2005-05-03 08:58:18 +00:00
4c80170111
Made things a little more boot-cd friendly (specifically readonly /usr). Also /etc/rc automatically determines where /usr should come from based on where the ramdisk was copied from.
Ben Gras
2005-05-03 08:56:01 +00:00
b49e963b5e
release package script polish
Ben Gras
2005-05-03 08:54:36 +00:00
14b68c70c4
Fixed some compiler breakage (MM_PROC_NR renamed)
Ben Gras
2005-05-03 08:54:01 +00:00
ccd06c407c
boot odds and ends. unfinished cd-detection work.
Ben Gras
2005-05-03 08:52:41 +00:00
544b225a44
Added man 'making'
Ben Gras
2005-05-03 08:48:26 +00:00