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
Jorrit Herder
b3a28466bb
*** empty log message ***
2005-07-19 14:03:21 +00:00
Jorrit Herder
5594b767c0
Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util
2005-07-19 13:21:51 +00:00
Jorrit Herder
0129d98ae1
Added new signal types for kernel events:
...
- SIGKMESS: new kernel message (sent to TTY, IS, or LOG)
- SIGKSTOP: MINIX is shut down (sent to TTY-> switch to primary console)
- SIGKSIG: kernel signals pending (sent to PM)
Renamed SYS_SETPRIORITY to SYS_NICE.
2005-07-19 12:24:51 +00:00
Jorrit Herder
198c976f7e
System processes can be signaled; signals are transformed in SYS_EVENT message
...
that passes signal map along. This mechanisms is also used for nonuser signals
like SIGKMESS, SIGKSTOP, SIGKSIG.
Revised comments of many system call handlers. Renamed setpriority to nice.
2005-07-19 12:21:36 +00:00
Philip Homburg
f8c380c195
Small update to random number generator
2005-07-19 12:16:55 +00:00
Jorrit Herder
488b2afc12
System processes started via servers=... boot monitor parameter
...
are now daemonized (instead of SIGNON procedure at PM).
2005-07-19 12:14:10 +00:00
Jorrit Herder
8c024e28a1
Changed Makefiles: drivers are now installed in /usr/sbin.
...
TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP).
2005-07-19 12:12:48 +00:00
Jorrit Herder
f2e16763e7
Removed PM signon for INET. Now daemonized in /usr/etc/rc.
...
SIGTRAP generated in PM (where it belongs / no longer in kernel).
Updated Makefiles: servers are now installed in /usr/sbin.
2005-07-19 12:11:11 +00:00
Philip Homburg
7d4e914618
Random number generator
2005-07-18 15:40:24 +00:00
Ben Gras
3eb405c3bf
Fixed two uninitialized-data bugs.
2005-07-18 13:44:39 +00:00
Ben Gras
1f756d377a
Made memset system call listen to character argument
2005-07-18 12:31:11 +00:00
Ben Gras
42e6d20afe
Changed phys_zero to phys_fill, which accepts a 4-byte argument saying what
...
to fill with. Changed prototype and call to match.
2005-07-18 12:18:16 +00:00
Ben Gras
5cd673c5ba
Nit in compress about filenames; backup patched to use opendir() and
...
readdir() (old dir format didn't work)
2005-07-18 09:33:27 +00:00
Ben Gras
dfc51728b7
Made dirent filename len a macro; corrected comment bug in bios.h reported
...
by Andrew Schilt <aschilt@cox.net>.
2005-07-18 09:11:48 +00:00
Ben Gras
c69ed2c4b1
Verbose tar option was for debugging, shouldn't have been commited. Undone.
2005-07-15 11:49:34 +00:00
Jorrit Herder
eba45510a9
New alarm(2) timers mechanism.
...
Kernel no longer keeps track of user alarms on behalf of the PM.
Instead, the PM maintains its own list of watchdog timers, and
uses one synchronous alarm (at the kernel) to get notifications
for expired user timers.
2005-07-14 15:30:12 +00:00
Jorrit Herder
2c730e8a8c
Renamed file.
2005-07-14 15:27:40 +00:00
Jorrit Herder
312c004519
*** empty log message ***
2005-07-14 15:26:26 +00:00
Jorrit Herder
570eac1f53
Renamed system library functionality.
...
Updated debug dumps of IS server.
2005-07-14 15:16:12 +00:00
Jorrit Herder
279250889f
Renamed some system library functionality.
2005-07-14 15:15:18 +00:00
Jorrit Herder
272a8496ac
Updated system call library.
...
Updated various header files for consistency.
Remove some unused stuff ... better check to be done.
2005-07-14 15:14:44 +00:00
Jorrit Herder
654722493b
Renamed various system calls.
...
Cleaned up system call library.
Added new alert() trap to replace notify() --- current notify will be removed
and alert() will be called notify() later.
2005-07-14 15:13:33 +00:00
Jorrit Herder
42ab148155
Reorganized system call library; uses separate file per call now.
...
New configuration header file to include/ exclude functionality.
Extracted privileged features from struct proc and create new struct priv.
Renamed various system calls for readability.
2005-07-14 15:12:12 +00:00
Ben Gras
355d22ff06
..
2005-07-13 15:08:59 +00:00
Ben Gras
0348b8d0ca
Minor improvements for autopart and setupcd
2005-07-13 14:59:43 +00:00
Ben Gras
e2a0ddf863
Makefile fixes.
2005-07-13 14:59:04 +00:00
Ben Gras
c389801a5f
Made timeout and no. of errors in at_wini dynamically settable
...
by ioctl; made catch-all function in driver table also called when
unrecognized ioctl called, so drivers can add their own ioctl codes.
2005-07-13 14:58:21 +00:00