Commit graph

590 commits

Author SHA1 Message Date
Jorrit Herder
52965b6f17 Various updates to support dynamically starting drivers.
Output during initialization should be suppressed. Unless an error occurs.
Note that main() can now be main(int argc, char **argv) and arguments can
be passed when bringing up the driver.
2005-08-02 15:30:36 +00:00
Jorrit Herder
f44725b777 Created new devctl system call to FS. Moved dmap.h header to include/minix/.
Various updates to support dynamically starting servers and suppress output.
2005-08-02 15:29:17 +00:00
Jorrit Herder
ab7c0a9926 Cleaned up table. Moved policies to table.
Small fixes to do_copy, do_privctl and do_fork.
2005-08-02 15:28:09 +00:00
Ben Gras
619a202720 setup fix 2005-08-02 14:56:30 +00:00
Ben Gras
4a267f747b Debug statement from autopart 2005-08-02 09:46:34 +00:00
Ben Gras
013352bb43 remove autopart debug statement 2005-08-02 09:02:52 +00:00
Ben Gras
acf6df8b04 Setup tweaks; bzip import 2005-08-02 08:57:26 +00:00
Philip Homburg
a5b0301024 small fix for connect 2005-08-01 14:47:24 +00:00
Philip Homburg
e9ebecdd17 UDP support for connect. 2005-08-01 14:43:21 +00:00
Philip Homburg
537d7ddcdf Replace REVIVE with notify. 2005-08-01 14:40:21 +00:00
Jorrit Herder
1198491af2 *** empty log message *** 2005-07-29 15:33:31 +00:00
Jorrit Herder
0946d128cd - 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.
2005-07-29 15:26:23 +00:00
Philip Homburg
a93faca75f rs232 support 2005-07-29 15:22:58 +00:00
Jorrit Herder
2471939f7d System library changes to interface. 2005-07-29 15:02:27 +00:00
Jorrit Herder
748b3dd434 Updates system library calls: interface changes (removed unused parameters).
Removed old notification trap: renamed alert() to notify() ... finally ;-)
2005-07-29 15:01:59 +00:00
Jorrit Herder
d3874a7917 Updated servers according to syslib interface changes. 2005-07-29 15:00:49 +00:00
Jorrit Herder
aec394a330 Updated drivers according to syslib interface changes. 2005-07-29 15:00:22 +00:00
Jorrit Herder
d62e515660 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.
2005-07-29 12:44:42 +00:00
Jorrit Herder
bd8762263a *** empty log message *** 2005-07-29 11:50:58 +00:00
Philip Homburg
49c25df569 bios_wini driver 2005-07-29 10:21:04 +00:00
Philip Homburg
f6b0544de9 Fixed prototype of random_update. 2005-07-29 10:16:40 +00:00
Philip Homburg
a7487a5c3c Added shutdown. EBADIOCTL in connect. Chaned some debug output. 2005-07-29 10:13:52 +00:00
Ben Gras
62c08df482 Removed debugging statements from log.c; changed PRINTF_PROC in config.h
back to LOG_PROC_NR
2005-07-27 18:49:25 +00:00
Ben Gras
3f4e0a5f59 Took fchdir out of the user library, it's suspected of being buggy (in FS) 2005-07-27 18:48:48 +00:00
Philip Homburg
92d44e8108 Replaced REVIVE and select/notify with alert and DEV_STATUS. 2005-07-27 16:35:16 +00:00
Ben Gras
3292badc37 Added dup_inode to fchdir() call. Still not sure if it is correct now. 2005-07-27 16:04:26 +00:00
Jorrit Herder
f88431f1f7 Made PRINTER driver use new revive-notify mechanism.
Still to be tested.
2005-07-27 15:04:30 +00:00
Jorrit Herder
fe0dcb5c00 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
2005-07-27 14:32:16 +00:00
Ben Gras
28958cca35 Log device only suspendable now 2005-07-27 14:31:04 +00:00
Ben Gras
ed6459b304 *** empty log message *** 2005-07-27 14:30:25 +00:00
Ben Gras
b924ce0726 Prettify scheduling queue prints 2005-07-27 14:30:17 +00:00
Ben Gras
31042a5a05 Added SENDREC_BUSY flag to indicate that process is doing sendrec() -
if so, alerts are not received before reply message.
2005-07-27 14:08:59 +00:00
Ben Gras
a1a7ccbd02 alert()-aware revive/select in log device 2005-07-27 13:11:03 +00:00
Ben Gras
e58db8b7f5 Values for alert revive/select callbacks 2005-07-27 13:09:38 +00:00
Ben Gras
08934187c9 FS understanding revives and selects as alerts (new notifies) 2005-07-27 13:08:52 +00:00
Philip Homburg
dd7220f234 Listen/accept. Read select for UDP. 2005-07-27 12:07:12 +00:00
Philip Homburg
3aadb79b1b 3 -> T_GETUSER 2005-07-27 12:03:09 +00:00
Philip Homburg
aa994b48ee Do not accept requests from dead processes. 2005-07-27 12:01:11 +00:00
Philip Homburg
e1f43abc09 Socket library 2005-07-27 11:57:59 +00:00
Philip Homburg
40b364a6db Added some error strings. 2005-07-27 11:53:05 +00:00
Philip Homburg
3ea637a096 More stack for ash. 2005-07-27 11:49:52 +00:00
Philip Homburg
93fc19de2c The priority of FS should be lower than that of PM to avoid race conditions
when processes are killed due to a signal.
2005-07-27 11:48:13 +00:00
Philip Homburg
df1dbb4b7e Prototypes for some string functions that are not part of the C standard. 2005-07-27 11:44:26 +00:00
Philip Homburg
501634d5ab Added EALREADY and EMSGSIZE. 2005-07-27 11:43:28 +00:00
Philip Homburg
920c462e8c 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.
2005-07-27 11:42:54 +00:00
Philip Homburg
055168bd31 Added ioctls for listen/accept. Added cookies for accept. 2005-07-27 11:40:34 +00:00
Ben Gras
dd1186d65d No RDY_Q_HEAD business.. 2005-07-27 07:01:46 +00:00
Ben Gras
2b810f6923 Prettier s_flags printing 2005-07-27 07:00:20 +00:00
Jorrit Herder
30d95cad82 Removed debug output. 2005-07-26 14:54:49 +00:00
Jorrit Herder
a41eb700e8 Minor fixes and improvements for sys_call(). 2005-07-26 13:51:21 +00:00