]> Zhao Yanbai Git Server - minix.git/log
minix.git
19 years ago*** empty log message ***
Jorrit Herder [Fri, 29 Jul 2005 15:33:31 +0000 (15:33 +0000)]
*** empty log message ***

19 years ago- Kernel call handlers cleaned up. More strict checking of input parameters.
Jorrit Herder [Fri, 29 Jul 2005 15:26:23 +0000 (15:26 +0000)]
- Kernel call handlers cleaned up. More strict checking of input parameters.
- Moved generic_handler() from system.c to system/do_irqctl.c.
- Set privileges of system processes somewhat stricter.

19 years agors232 support
Philip Homburg [Fri, 29 Jul 2005 15:22:58 +0000 (15:22 +0000)]
rs232 support

19 years agoSystem library changes to interface.
Jorrit Herder [Fri, 29 Jul 2005 15:02:27 +0000 (15:02 +0000)]
System library changes to interface.

19 years agoUpdates system library calls: interface changes (removed unused parameters).
Jorrit Herder [Fri, 29 Jul 2005 15:01:59 +0000 (15:01 +0000)]
Updates system library calls: interface changes (removed unused parameters).
Removed old notification trap: renamed alert() to notify() ... finally ;-)

19 years agoUpdated servers according to syslib interface changes.
Jorrit Herder [Fri, 29 Jul 2005 15:00:49 +0000 (15:00 +0000)]
Updated servers according to syslib interface changes.

19 years agoUpdated drivers according to syslib interface changes.
Jorrit Herder [Fri, 29 Jul 2005 15:00:22 +0000 (15:00 +0000)]
Updated drivers according to syslib interface changes.

19 years agoSmall update to SYS_IRQCTL -> setting an interrupt policy now allows the caller
Jorrit Herder [Fri, 29 Jul 2005 12:44:42 +0000 (12:44 +0000)]
Small update to SYS_IRQCTL -> setting an interrupt policy now allows the caller
to provide an index (0 .. 31) that is passed in the HARD_INT message when an
interrupt occurs. The NOTIFY_ARG field contains a bitmap with all indexes for
which an interrupt occured.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 29 Jul 2005 11:50:58 +0000 (11:50 +0000)]
*** empty log message ***

19 years agobios_wini driver
Philip Homburg [Fri, 29 Jul 2005 10:21:04 +0000 (10:21 +0000)]
bios_wini driver

19 years agoFixed prototype of random_update.
Philip Homburg [Fri, 29 Jul 2005 10:16:40 +0000 (10:16 +0000)]
Fixed prototype of random_update.

19 years agoAdded shutdown. EBADIOCTL in connect. Chaned some debug output.
Philip Homburg [Fri, 29 Jul 2005 10:13:52 +0000 (10:13 +0000)]
Added shutdown. EBADIOCTL in connect. Chaned some debug output.

19 years agoRemoved debugging statements from log.c; changed PRINTF_PROC in config.h
Ben Gras [Wed, 27 Jul 2005 18:49:25 +0000 (18:49 +0000)]
Removed debugging statements from log.c; changed PRINTF_PROC in config.h
back to LOG_PROC_NR

19 years agoTook fchdir out of the user library, it's suspected of being buggy (in FS)
Ben Gras [Wed, 27 Jul 2005 18:48:48 +0000 (18:48 +0000)]
Took fchdir out of the user library, it's suspected of being buggy (in FS)

19 years agoReplaced REVIVE and select/notify with alert and DEV_STATUS.
Philip Homburg [Wed, 27 Jul 2005 16:35:16 +0000 (16:35 +0000)]
Replaced REVIVE and select/notify with alert and DEV_STATUS.

19 years agoAdded dup_inode to fchdir() call. Still not sure if it is correct now.
Ben Gras [Wed, 27 Jul 2005 16:04:26 +0000 (16:04 +0000)]
Added dup_inode to fchdir() call. Still not sure if it is correct now.

19 years agoMade PRINTER driver use new revive-notify mechanism.
Jorrit Herder [Wed, 27 Jul 2005 15:04:30 +0000 (15:04 +0000)]
Made PRINTER driver use new revive-notify mechanism.
Still to be tested.

19 years agoAT driver is not modified (debugging only);
Jorrit Herder [Wed, 27 Jul 2005 14:32:16 +0000 (14:32 +0000)]
AT driver is not modified (debugging only);
TTY: select and revive with new notify and FS call back;
kernel: removed old notify code; removed ugly prepare_shutdown timer
kputc: don't send to FS if PRINTF_PROC fails

19 years agoLog device only suspendable now
Ben Gras [Wed, 27 Jul 2005 14:31:04 +0000 (14:31 +0000)]
Log device only suspendable now

19 years ago*** empty log message ***
Ben Gras [Wed, 27 Jul 2005 14:30:25 +0000 (14:30 +0000)]
*** empty log message ***

19 years agoPrettify scheduling queue prints
Ben Gras [Wed, 27 Jul 2005 14:30:17 +0000 (14:30 +0000)]
Prettify scheduling queue prints

19 years agoAdded SENDREC_BUSY flag to indicate that process is doing sendrec() -
Ben Gras [Wed, 27 Jul 2005 14:08:59 +0000 (14:08 +0000)]
Added SENDREC_BUSY flag to indicate that process is doing sendrec() -
if so, alerts are not received before reply message.

19 years agoalert()-aware revive/select in log device
Ben Gras [Wed, 27 Jul 2005 13:11:03 +0000 (13:11 +0000)]
alert()-aware revive/select in log device

19 years agoValues for alert revive/select callbacks
Ben Gras [Wed, 27 Jul 2005 13:09:38 +0000 (13:09 +0000)]
Values for alert revive/select callbacks

19 years agoFS understanding revives and selects as alerts (new notifies)
Ben Gras [Wed, 27 Jul 2005 13:08:52 +0000 (13:08 +0000)]
FS understanding revives and selects as alerts (new notifies)

19 years agoListen/accept. Read select for UDP.
Philip Homburg [Wed, 27 Jul 2005 12:07:12 +0000 (12:07 +0000)]
Listen/accept. Read select for UDP.

19 years ago3 -> T_GETUSER
Philip Homburg [Wed, 27 Jul 2005 12:03:09 +0000 (12:03 +0000)]
3 -> T_GETUSER

19 years agoDo not accept requests from dead processes.
Philip Homburg [Wed, 27 Jul 2005 12:01:11 +0000 (12:01 +0000)]
Do not accept requests from dead processes.

19 years agoSocket library
Philip Homburg [Wed, 27 Jul 2005 11:57:59 +0000 (11:57 +0000)]
Socket library

19 years agoAdded some error strings.
Philip Homburg [Wed, 27 Jul 2005 11:53:05 +0000 (11:53 +0000)]
Added some error strings.

19 years agoMore stack for ash.
Philip Homburg [Wed, 27 Jul 2005 11:49:52 +0000 (11:49 +0000)]
More stack for ash.

19 years agoThe priority of FS should be lower than that of PM to avoid race conditions
Philip Homburg [Wed, 27 Jul 2005 11:48:13 +0000 (11:48 +0000)]
The priority of FS should be lower than that of PM to avoid race conditions
when processes are killed due to a signal.

19 years agoPrototypes for some string functions that are not part of the C standard.
Philip Homburg [Wed, 27 Jul 2005 11:44:26 +0000 (11:44 +0000)]
Prototypes for some string functions that are not part of the C standard.

19 years agoAdded EALREADY and EMSGSIZE.
Philip Homburg [Wed, 27 Jul 2005 11:43:28 +0000 (11:43 +0000)]
Added EALREADY and EMSGSIZE.

19 years agoAdded {h,n}to{l,s} prototypes. Added IPPROTO_TCP. SA_FAMILY_T -> _SA_FAMILY_T
Philip Homburg [Wed, 27 Jul 2005 11:42:54 +0000 (11:42 +0000)]
Added {h,n}to{l,s} prototypes. Added IPPROTO_TCP. SA_FAMILY_T -> _SA_FAMILY_T
Added SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SO_DEBUG, SO_ERROR.

19 years agoAdded ioctls for listen/accept. Added cookies for accept.
Philip Homburg [Wed, 27 Jul 2005 11:40:34 +0000 (11:40 +0000)]
Added ioctls for listen/accept. Added cookies for accept.

19 years agoNo RDY_Q_HEAD business..
Ben Gras [Wed, 27 Jul 2005 07:01:46 +0000 (07:01 +0000)]
No RDY_Q_HEAD business..

19 years agoPrettier s_flags printing
Ben Gras [Wed, 27 Jul 2005 07:00:20 +0000 (07:00 +0000)]
Prettier s_flags printing

19 years agoRemoved debug output.
Jorrit Herder [Tue, 26 Jul 2005 14:54:49 +0000 (14:54 +0000)]
Removed debug output.

19 years agoMinor fixes and improvements for sys_call().
Jorrit Herder [Tue, 26 Jul 2005 13:51:21 +0000 (13:51 +0000)]
Minor fixes and improvements for sys_call().

19 years agotest shouldn't install, only clean
Ben Gras [Tue, 26 Jul 2005 13:50:58 +0000 (13:50 +0000)]
test shouldn't install, only clean

19 years ago. give users a boot floppy image (cdfdboot) they can use
Ben Gras [Tue, 26 Jul 2005 13:36:50 +0000 (13:36 +0000)]
. give users a boot floppy image (cdfdboot) they can use
  if they can't boot from CD (CD still required though)
. no longer .tar.gz source on iso fs

19 years agoTop-level makefile didn't clean test
Ben Gras [Tue, 26 Jul 2005 13:34:45 +0000 (13:34 +0000)]
Top-level makefile didn't clean test

19 years agoMinor cdprobe message additions; usyslogd logs shorter lines
Ben Gras [Tue, 26 Jul 2005 13:23:13 +0000 (13:23 +0000)]
Minor cdprobe message additions; usyslogd logs shorter lines

19 years agoMINIX 3, not MINIX3
Ben Gras [Tue, 26 Jul 2005 13:16:07 +0000 (13:16 +0000)]
MINIX 3, not MINIX3

19 years agoSetup, not setupcd any more
Ben Gras [Tue, 26 Jul 2005 13:15:27 +0000 (13:15 +0000)]
Setup, not setupcd any more

19 years agoSmall fix
Ben Gras [Tue, 26 Jul 2005 13:14:59 +0000 (13:14 +0000)]
Small fix

19 years agoRename setupcd.sh to setup.sh
Ben Gras [Tue, 26 Jul 2005 13:14:36 +0000 (13:14 +0000)]
Rename setupcd.sh to setup.sh

19 years agoRename setupcd.sh to setup.sh, setup.sh to floppysetup.sh
Ben Gras [Tue, 26 Jul 2005 13:14:12 +0000 (13:14 +0000)]
Rename setupcd.sh to setup.sh, setup.sh to floppysetup.sh

19 years agoAdded an IDENTIFIED flag that is set on successfully identified drives.
Ben Gras [Tue, 26 Jul 2005 13:11:16 +0000 (13:11 +0000)]
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.

19 years agoFramework (and some functionality) for new server ...
Jorrit Herder [Tue, 26 Jul 2005 13:08:57 +0000 (13:08 +0000)]
Framework (and some functionality) for new server ...
Work in progress ...

19 years agoRemoved implicit call to 'make depend' on 'make install' ...
Jorrit Herder [Tue, 26 Jul 2005 12:51:35 +0000 (12:51 +0000)]
Removed implicit call to 'make depend' on 'make install' ...

19 years ago*** empty log message ***
Jorrit Herder [Tue, 26 Jul 2005 12:50:41 +0000 (12:50 +0000)]
*** empty log message ***

19 years agoSmall update to shared driver code: SYS_EVENT (signal) is now known.
Jorrit Herder [Tue, 26 Jul 2005 12:50:25 +0000 (12:50 +0000)]
Small update to shared driver code: SYS_EVENT (signal) is now known.
Fixed drivers. HARD_STOP message no longer exists.

19 years agoUpdated F4 dump at IS to include send masks.
Jorrit Herder [Tue, 26 Jul 2005 12:49:35 +0000 (12:49 +0000)]
Updated F4 dump at IS to include send masks.
Removed unused constant from fproc.h
Changed signal behaviour at PM (work in progress)

19 years agoKernel changes:
Jorrit Herder [Tue, 26 Jul 2005 12:48:34 +0000 (12:48 +0000)]
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

19 years agoFixed do_trace to properly return (status) information.
Philip Homburg [Mon, 25 Jul 2005 12:15:05 +0000 (12:15 +0000)]
Fixed do_trace to properly return (status) information.

19 years agoDefined base numbers for DEV_ request and response types.
Jorrit Herder [Mon, 25 Jul 2005 12:03:00 +0000 (12:03 +0000)]
Defined base numbers for DEV_ request and response types.
Defined response codes: DEV_REPLY, DEV_CLONED, DEV_REVIVE, DEV_IO_READY

19 years agoSIGSTOP being in _NSIG nowadays caused test8 to break - fixed.
Ben Gras [Sun, 24 Jul 2005 14:06:42 +0000 (14:06 +0000)]
SIGSTOP being in _NSIG nowadays caused test8 to break - fixed.

19 years ago*** empty log message ***
Ben Gras [Sun, 24 Jul 2005 12:55:41 +0000 (12:55 +0000)]
*** empty log message ***

19 years agoLet writeisofs write files longer than 11 chars
Ben Gras [Sun, 24 Jul 2005 01:18:39 +0000 (01:18 +0000)]
Let writeisofs write files longer than 11 chars

19 years agoYet more readme and install script updates
Ben Gras [Sun, 24 Jul 2005 01:18:09 +0000 (01:18 +0000)]
Yet more readme and install script updates

19 years agoRedirect touch stderr to /dev/null, error is unlikely and harmless in
Ben Gras [Sun, 24 Jul 2005 01:17:32 +0000 (01:17 +0000)]
Redirect touch stderr to /dev/null, error is unlikely and harmless in
normal conditions but certain and irritating and harmless when booting from
cd

19 years agoVarious autopart fixes, and new delete-partition feature
Ben Gras [Sun, 24 Jul 2005 01:16:51 +0000 (01:16 +0000)]
Various autopart fixes, and new delete-partition feature

19 years agoinstall script fixes - mkfs block size, autopart invocation
Ben Gras [Sun, 24 Jul 2005 01:16:37 +0000 (01:16 +0000)]
install script fixes - mkfs block size, autopart invocation

19 years agoMade line endings CRLF
Ben Gras [Sat, 23 Jul 2005 20:17:43 +0000 (20:17 +0000)]
Made line endings CRLF

19 years agoAdded a README.TXT for on the ISO filesystem (so people can see something
Ben Gras [Sat, 23 Jul 2005 20:17:16 +0000 (20:17 +0000)]
Added a README.TXT for on the ISO filesystem (so people can see something
when it's opened in e.g. Windows).

19 years agoFixes to autopart.
Ben Gras [Sat, 23 Jul 2005 19:57:13 +0000 (19:57 +0000)]
Fixes to autopart.

19 years agoUpdates to /usr/etc/rc to deal with the new cd probing logic; ast@'s new motd
Ben Gras [Fri, 22 Jul 2005 18:38:48 +0000 (18:38 +0000)]
Updates to /usr/etc/rc to deal with the new cd probing logic; ast@'s new motd

19 years agoFunny depend behaviour fixed
Ben Gras [Fri, 22 Jul 2005 18:38:20 +0000 (18:38 +0000)]
Funny depend behaviour fixed

19 years agonew svrctl SETPARAM to set or override environment variables obtained
Ben Gras [Fri, 22 Jul 2005 18:37:33 +0000 (18:37 +0000)]
new svrctl SETPARAM to set or override environment variables obtained
from the boot monitor

19 years agoRemoved funny debug printf
Ben Gras [Fri, 22 Jul 2005 18:36:42 +0000 (18:36 +0000)]
Removed funny debug printf

19 years agoThird-oldest image is thrown away instead of oldest, if there are at least 4
Ben Gras [Fri, 22 Jul 2005 18:36:19 +0000 (18:36 +0000)]
Third-oldest image is thrown away instead of oldest, if there are at least 4
images. (Oldest is kept.)

Various cd message updates.

19 years agoBoot monitor setting of device _names_ no longer necessary
Ben Gras [Fri, 22 Jul 2005 18:31:19 +0000 (18:31 +0000)]
Boot monitor setting of device _names_ no longer necessary

19 years agoautopart, setupcd updates
Ben Gras [Fri, 22 Jul 2005 18:30:40 +0000 (18:30 +0000)]
autopart, setupcd updates

19 years agoImported treecmp
Ben Gras [Fri, 22 Jul 2005 18:30:23 +0000 (18:30 +0000)]
Imported treecmp

19 years agoImported indent
Ben Gras [Fri, 22 Jul 2005 18:30:14 +0000 (18:30 +0000)]
Imported indent

19 years ago. Junk-filling gap+stack code on exec() if enabled (not enabled now)
Ben Gras [Fri, 22 Jul 2005 18:29:58 +0000 (18:29 +0000)]
. Junk-filling gap+stack code on exec() if enabled (not enabled now)
. Allow 'boot monitor' variable changes and additions by svrctl call

19 years ago. added cd-probe logic; tries to find the right root filesystem
Ben Gras [Fri, 22 Jul 2005 18:28:32 +0000 (18:28 +0000)]
. 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)

19 years agoSome bugs in memory driver fixed (destination address of user buffer
Ben Gras [Fri, 22 Jul 2005 18:25:06 +0000 (18:25 +0000)]
Some bugs in memory driver fixed (destination address of user buffer
not updated)

19 years agoNits here and there. Made log device buffer messages again.
Ben Gras [Fri, 22 Jul 2005 18:24:17 +0000 (18:24 +0000)]
Nits here and there. Made log device buffer messages again.

19 years agoFunctionality moved from IS to LOG driver.
Jorrit Herder [Fri, 22 Jul 2005 11:05:56 +0000 (11:05 +0000)]
Functionality moved from IS to LOG driver.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 22 Jul 2005 09:59:37 +0000 (09:59 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jorrit Herder [Fri, 22 Jul 2005 09:20:43 +0000 (09:20 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jorrit Herder [Thu, 21 Jul 2005 18:37:19 +0000 (18:37 +0000)]
*** empty log message ***

19 years ago- Fixed comments in various system call handlers. Work in progress on new
Jorrit Herder [Thu, 21 Jul 2005 18:36:40 +0000 (18:36 +0000)]
- 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.

19 years agoAdded new BASE_MEM_TOP to restrict sys_vircopy() calls from BIOS.
Jorrit Herder [Thu, 21 Jul 2005 18:32:49 +0000 (18:32 +0000)]
Added new BASE_MEM_TOP to restrict sys_vircopy() calls from BIOS.
Updated comments at PRINTF_PROC --- it works again.

19 years agoRemoved printing functionality from IS server.
Jorrit Herder [Thu, 21 Jul 2005 18:31:27 +0000 (18:31 +0000)]
Removed printing functionality from IS server.
This functionality is now provided by the LOG driver.

19 years agoAllowed printing diagnostic messages (either from system processes or the
Jorrit Herder [Thu, 21 Jul 2005 18:29:52 +0000 (18:29 +0000)]
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.

19 years agoAdded dev2name - translate (minor,major) device numbers, or (minor|major<<..)
Ben Gras [Thu, 21 Jul 2005 13:17:56 +0000 (13:17 +0000)]
Added dev2name - translate (minor,major) device numbers, or (minor|major<<..)
device number, to /dev/* node name.

19 years agoAdded presz134.zip to go on install cd, modified release script to do it
Ben Gras [Thu, 21 Jul 2005 08:35:06 +0000 (08:35 +0000)]
Added presz134.zip to go on install cd, modified release script to do it

19 years ago*** empty log message ***
Jorrit Herder [Wed, 20 Jul 2005 15:34:13 +0000 (15:34 +0000)]
*** empty log message ***

19 years agoRemoved 'tracing' flag from sys_exec. Logic is now local to PM.
Jorrit Herder [Wed, 20 Jul 2005 15:33:54 +0000 (15:33 +0000)]
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.

19 years agoKernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit.
Jorrit Herder [Wed, 20 Jul 2005 15:28:05 +0000 (15:28 +0000)]
Kernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit.

19 years agoFixed bug in PM that caused update program not to be scheduled, so that
Jorrit Herder [Wed, 20 Jul 2005 15:27:42 +0000 (15:27 +0000)]
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.

19 years agoVarious fixes and improvements.
Jorrit Herder [Wed, 20 Jul 2005 15:25:38 +0000 (15:25 +0000)]
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);

19 years agoFixed bug that caused booting being aborted in some cases (e.g. after ls).
Ben Gras [Wed, 20 Jul 2005 15:16:53 +0000 (15:16 +0000)]
Fixed bug that caused booting being aborted in some cases (e.g. after ls).

19 years agoUninitialised field at init
Ben Gras [Wed, 20 Jul 2005 14:04:19 +0000 (14:04 +0000)]
Uninitialised field at init

19 years agoAnother test case for select - ptys (when implemented)
Ben Gras [Tue, 19 Jul 2005 16:03:39 +0000 (16:03 +0000)]
Another test case for select - ptys (when implemented)

19 years agoOpenpty() manpage
Ben Gras [Tue, 19 Jul 2005 16:02:39 +0000 (16:02 +0000)]
Openpty() manpage