Commit graph

2284 commits

Author SHA1 Message Date
Ben Gras
2293ccfc45 Small fix 2005-07-26 13:14:59 +00:00
Ben Gras
e110ef62e3 Rename setupcd.sh to setup.sh 2005-07-26 13:14:36 +00:00
Ben Gras
8e8593d1bf Rename setupcd.sh to setup.sh, setup.sh to floppysetup.sh 2005-07-26 13:14:12 +00:00
Ben Gras
435dd377ed Added an IDENTIFIED flag that is set on successfully identified drives.
This avoids the bug scenario where DEAF but not-w_identify()d drives are
never properly identified, but are seen as real devices.
2005-07-26 13:11:16 +00:00
Jorrit Herder
4bf6edfd14 Framework (and some functionality) for new server ...
Work in progress ...
2005-07-26 13:08:57 +00:00
Jorrit Herder
2bb508a71c Removed implicit call to 'make depend' on 'make install' ... 2005-07-26 12:51:35 +00:00
Jorrit Herder
b62817d788 *** empty log message *** 2005-07-26 12:50:41 +00:00
Jorrit Herder
a63d324caa Small update to shared driver code: SYS_EVENT (signal) is now known.
Fixed drivers. HARD_STOP message no longer exists.
2005-07-26 12:50:25 +00:00
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