Commit graph

3326 commits

Author SHA1 Message Date
Jorrit Herder
3d0b9140f2 Updated F4 dump at IS to include send masks.
Removed unused constant from fproc.h
Changed signal behaviour at PM (work in progress)
2005-07-26 12:49:35 +00:00
Jorrit Herder
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
2005-07-26 12:48:34 +00:00
Philip Homburg
153fdabb26 Fixed do_trace to properly return (status) information. 2005-07-25 12:15:05 +00:00
Jorrit Herder
06c8f33853 Defined base numbers for DEV_ request and response types.
Defined response codes: DEV_REPLY, DEV_CLONED, DEV_REVIVE, DEV_IO_READY
2005-07-25 12:03:00 +00:00
Ben Gras
38987ff79a SIGSTOP being in _NSIG nowadays caused test8 to break - fixed. 2005-07-24 14:06:42 +00:00
Ben Gras
154cd91888 *** empty log message *** 2005-07-24 12:55:41 +00:00
Ben Gras
2283a4e5c3 Let writeisofs write files longer than 11 chars 2005-07-24 01:18:39 +00:00
Ben Gras
4ede86f51b Yet more readme and install script updates 2005-07-24 01:18:09 +00:00
Ben Gras
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
2005-07-24 01:17:32 +00:00
Ben Gras
9d1772baf8 Various autopart fixes, and new delete-partition feature 2005-07-24 01:16:51 +00:00
Ben Gras
8dd28a9a7c install script fixes - mkfs block size, autopart invocation 2005-07-24 01:16:37 +00:00
Ben Gras
651349d6d2 Made line endings CRLF 2005-07-23 20:17:43 +00:00
Ben Gras
d40bd43e46 Added a README.TXT for on the ISO filesystem (so people can see something
when it's opened in e.g. Windows).
2005-07-23 20:17:16 +00:00
Ben Gras
e4b4ec7128 Fixes to autopart. 2005-07-23 19:57:13 +00:00
Ben Gras
4f59e540e1 Updates to /usr/etc/rc to deal with the new cd probing logic; ast@'s new motd 2005-07-22 18:38:48 +00:00
Ben Gras
919cb00bbc Funny depend behaviour fixed 2005-07-22 18:38:20 +00:00
Ben Gras
b5a5d3ec1c new svrctl SETPARAM to set or override environment variables obtained
from the boot monitor
2005-07-22 18:37:33 +00:00
Ben Gras
08578c6afb Removed funny debug printf 2005-07-22 18:36:42 +00:00
Ben Gras
71e6680b80 Third-oldest image is thrown away instead of oldest, if there are at least 4
images. (Oldest is kept.)

Various cd message updates.
2005-07-22 18:36:19 +00:00
Ben Gras
12618851ad Boot monitor setting of device _names_ no longer necessary 2005-07-22 18:31:19 +00:00
Ben Gras
b9e585c81c autopart, setupcd updates 2005-07-22 18:30:40 +00:00
Ben Gras
d5516193f3 Imported treecmp 2005-07-22 18:30:23 +00:00
Ben Gras
3a68bd323a Imported indent 2005-07-22 18:30:14 +00:00
Ben Gras
ca80161f40 . Junk-filling gap+stack code on exec() if enabled (not enabled now)
. Allow 'boot monitor' variable changes and additions by svrctl call
2005-07-22 18:29:58 +00:00
Ben Gras
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)
2005-07-22 18:28:32 +00:00
Ben Gras
f73af8573a Some bugs in memory driver fixed (destination address of user buffer
not updated)
2005-07-22 18:25:06 +00:00
Ben Gras
d09f170abc Nits here and there. Made log device buffer messages again. 2005-07-22 18:24:17 +00:00
Jorrit Herder
b9b334c38c Functionality moved from IS to LOG driver. 2005-07-22 11:05:56 +00:00
Jorrit Herder
954865e389 *** empty log message *** 2005-07-22 09:59:37 +00:00
Jorrit Herder
80816ab001 *** empty log message *** 2005-07-22 09:20:43 +00:00
Jorrit Herder
e2b05e4f55 *** empty log message *** 2005-07-21 18:37:19 +00:00
Jorrit Herder
f0594a9e6d - Fixed comments in various system call handlers. Work in progress on new
sys_privctl() call to dynamically start servers and drivers.

- Shutdown sequence slightly adjusted: called as watchdog timer to let the
  busy sys_abort() call from the PM return first.

- Changed umap_bios() to have more restrictive check: BIOS memory is now
  allowed in BIOS_MEM_BEGIN to END (interrupt vectors) and BASE_MEM_TOP
  to UPPER_MEM_END. Hopefully this keeps QEMU and Bochs happy.
2005-07-21 18:36:40 +00:00
Jorrit Herder
8d3e390bda Added new BASE_MEM_TOP to restrict sys_vircopy() calls from BIOS.
Updated comments at PRINTF_PROC --- it works again.
2005-07-21 18:32:49 +00:00
Jorrit Herder
808202ee30 Removed printing functionality from IS server.
This functionality is now provided by the LOG driver.
2005-07-21 18:31:27 +00:00
Jorrit Herder
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.

Changed driver_task() not to send a reply if the return value is EDONTREPLY.
2005-07-21 18:29:52 +00:00
Ben Gras
da9b8e45f9 Added dev2name - translate (minor,major) device numbers, or (minor|major<<..)
device number, to /dev/* node name.
2005-07-21 13:17:56 +00:00
Ben Gras
b343c18712 Added presz134.zip to go on install cd, modified release script to do it 2005-07-21 08:35:06 +00:00
Jorrit Herder
43ac66556e *** empty log message *** 2005-07-20 15:34:13 +00:00
Jorrit Herder
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.
2005-07-20 15:33:54 +00:00
Jorrit Herder
d2d975246d Kernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit. 2005-07-20 15:28:05 +00:00
Jorrit Herder
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.

Kernel sends SIGKSTOP signal on shutdown. FS calls sync to clean up.
2005-07-20 15:27:42 +00:00
Jorrit Herder
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);
2005-07-20 15:25:38 +00:00
Ben Gras
f8af4da472 Fixed bug that caused booting being aborted in some cases (e.g. after ls). 2005-07-20 15:16:53 +00:00
Ben Gras
d5d9764dbb Uninitialised field at init 2005-07-20 14:04:19 +00:00
Ben Gras
398119f873 Another test case for select - ptys (when implemented) 2005-07-19 16:03:39 +00:00
Ben Gras
7c91a50061 Openpty() manpage 2005-07-19 16:02:39 +00:00
Ben Gras
0f48b1885d new -lutil, only openpty() for now 2005-07-19 16:01:37 +00:00
Ben Gras
d740cce24d Header file for new -lutil (naming from freebsd) 2005-07-19 16:01:20 +00:00
Ben Gras
c24f72d433 Made phys_fill fill its 4-byte pattern any number of bytes (instead of
rounded down to a 4-byte multiple)

Fixed dependency omission
2005-07-19 16:00:25 +00:00
Jorrit Herder
1d7bdd4ab1 *** empty log message *** 2005-07-19 15:01:47 +00:00