7db58ddc19
OBJDIR-clean generating of .gitignore
Ben Gras2011-04-25 14:18:36 +02:00
c50ec2b4e2
fix missing return statement in nonamed causing network failure after 300s when compiling with GCC
Erik van der Kouwe2011-04-21 19:14:25 +00:00
20a04a068d
Generate .gitignore file for tools directory
Thomas Veerman2011-04-21 13:20:55 +00:00
22049c1ec3
Enable generation of .gitignore file for the test dir
Thomas Veerman2011-04-21 13:20:13 +00:00
2b09bfde6d
kernel: fix logic error in the case vm_lookup fails
Ben Gras2011-04-20 10:17:08 +00:00
46cee00ad8
Kernel: try_async/try_one fixes - skip processes that are not asynsending to the target - do not clear whole asynsend table upon IPC permission error - be more accepting when one table entry is bogus later on
David van Moolenbroek2011-04-18 22:56:34 +00:00
b1a60476c0
Return errors directly instead of using errno
Thomas Veerman2011-04-13 14:01:13 +00:00
aba392e630
Clean up and fix multiple bugs in select: - Remove redundant code. - Always wait for the initial reply from an asynchronous select request, even if the select has been satisfied on another file descriptor or was canceled due to a serious error. - Restart asynchronous selects if upon reply from the driver turns out that there are deferred operations (and do not forget we're still interested in the results of the deferred operations). - Do not hang a non-blocking select when another blocking select on the same filp is still blocking. - Split blocking operations in read, write, and exceptions (i.e., blocking on read does not imply the write will block as well). - Some loops would iterate over OPEN_MAX file descriptors instead of the "highest" file descriptor. - Use proper internal error return values. - A secondary reply from a synchronous driver is essentially the same as from an asynchronous driver (the only difference being how the answer is received). Merge. - Return proper error code after a driver failure. - Auto-detect whether a driver is synchronous or asynchronous. - Remove some code duplication. - Clean up code (coding style, add missing comments, put all select related code together).
Thomas Veerman2011-04-13 13:25:34 +00:00
f0740680cd
Do not print an error message when a binary is corrupt
Thomas Veerman2011-04-12 13:09:19 +00:00
2cde22ee10
Enable a process to find out what the error code was when delivery of an asynchronous message resulted in an error.
Thomas Veerman2011-04-08 15:23:12 +00:00
7457cbe62f
Enable sending a notification when sending of an asynchronous message was completed (successfully or not). AMF_NOTIFY_ERR can be used if the sender only wishes to be notified in case of an error (e.g., EDEADSRCDST). A new endpoint ASYNCM will be the sender of the notification.
Thomas Veerman2011-04-08 15:14:48 +00:00
16e0e9370e
Use a bitmap for pending asynchronous messages instead of a global flag. That way it works similar to pending notifications.
Thomas Veerman2011-04-08 15:03:33 +00:00
9db2311b22
Reduce the number of copies done by the kernel when handling retrieval and delivery of asynchronous messages.
Thomas Veerman2011-04-08 14:53:55 +00:00
28f2a169da
VFS: bugfixes for handling block-special files: - on driver restarts, reopen devices on a per-file basis, not per-mount - do not assume that there is just one vnode per block-special device - update block-special files in the uncommon mounting success paths, too - upon mount, sync but also invalidate affected buffers on the root FS - upon unmount, check whether a vnode is in use before updating it
David van Moolenbroek2011-03-25 10:56:43 +00:00
14e641cb8c
PFS: UDS code cleanup: - coalesce lots of duplicate code - avoid using errno as much as possible - fix bugs in some error handling cases
David van Moolenbroek2011-03-25 10:52:53 +00:00
7a9e3651fd
drivers/sb16: delete altogether; the latest copy is in drivers/audio/sb16
David van Moolenbroek2011-03-25 10:48:16 +00:00
f56c4001d5
TTY/LOG driver cleanup: - remove non-safecopy support from TTY - make TTY warning-free with gcc -Wall - remove obsolete diagnostics support
David van Moolenbroek2011-03-25 10:43:24 +00:00
9caa53e8d9
Add libasyn, asynchio support for netbsd libc.
Gianluca Guida2011-03-23 15:28:22 +00:00
15e58909b6
NBSD includes: Include sys/reboot.h in unistd.h
Gianluca Guida2011-03-22 14:54:38 +00:00
0dc9e0996a
Import unmodified NetBSD's libm for compiling with new libc.
Gianluca Guida2011-03-18 15:52:16 +00:00
6f4e3dd910
Move elf headers in common/include and libexec.h in lib/libexec.
Gianluca Guida2011-03-18 15:13:05 +00:00
c8d0edc06a
- Refactor mthread structure fields to prevent name clashes - Remove sanity checks for initialized mutexes and condition variables. This significantly boosts performance. The checks can be turned back on by compiling libmthread with MTHREAD_STRICT. According to POSIX operations on uninitialized variables are a MAY fail if, therefore allowing this optimization. - Test59 has to be accommodated to the lack of sanity checks on uninitialized variables in the library. It specifically tests for them and will run into segfaults when the checks are absent in the library. - Fix a few bugs related to the scheduler - Do some general code cleanups
Thomas Veerman2011-03-18 10:29:54 +00:00
03a7d0e8ae
Add cttybaud boot monitor variable to control speed of serial console (combine with ctty 0)
Erik van der Kouwe2011-03-16 12:25:10 +00:00
5f1ab506c8
remove some debugging output from vm/region.c
Ben Gras2011-03-16 11:57:35 +00:00