2a839c735e
Import libelf from elftoolchain r1525
Arun Thomas
2011-05-21 19:11:59 +02:00
314d09adf7
fix clang warnings in servers/
Ben Gras
2011-05-12 22:23:02 +02:00
674cd6fd48
larger i/o buffer for exec()
Ben Gras
2011-05-12 19:04:55 +02:00
bed9e48c12
APIC timer needs rearming before halting the cpu
Tomas Hruby
2011-05-11 11:54:23 +02:00
f5a1e58f59
PCI - do not panic when ACPI cannot map bridges
Tomas Hruby
2011-05-06 17:41:14 +02:00
350b60661a
ELF multiboot support
Arun Thomas
2011-05-04 18:51:43 +02:00
455b809b17
made boot/ into hierarchy of programs
Ben Gras
2011-04-25 15:10:57 +02:00
e969b5e11b
Remote unused segctl kernel call
Erik van der Kouwe
2011-04-26 23:28:23 +02:00
7db58ddc19
OBJDIR-clean generating of .gitignore
Ben Gras
2011-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 Kouwe
2011-04-21 19:14:25 +00:00
20a04a068d
Generate .gitignore file for tools directory
Thomas Veerman
2011-04-21 13:20:55 +00:00
22049c1ec3
Enable generation of .gitignore file for the test dir
Thomas Veerman
2011-04-21 13:20:13 +00:00
827daf1fca
Make test40 behave
Thomas Veerman
2011-04-21 13:18:00 +00:00
196de8bc40
sprofalyze.pl: fix for forked-nonexeced processes
David van Moolenbroek
2011-04-20 21:39:13 +00:00
2b09bfde6d
kernel: fix logic error in the case vm_lookup fails
Ben Gras
2011-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 Moolenbroek
2011-04-18 22:56:34 +00:00
afb8067c4f
dhcpd: fix newly introduced ACK warnings
David van Moolenbroek
2011-04-16 11:13:31 +00:00
020277a38f
libmthread: support for thread-local storage (keys/specifics)
David van Moolenbroek
2011-04-14 11:54:43 +00:00
b1a60476c0
Return errors directly instead of using errno
Thomas Veerman
2011-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 Veerman
2011-04-13 13:25:34 +00:00
f0740680cd
Do not print an error message when a binary is corrupt
Thomas Veerman
2011-04-12 13:09:19 +00:00
c51cd5fe91
Server/driver protocols: no longer allow third-party copies.
David van Moolenbroek
2011-04-11 17:35:05 +00:00
4e86b0d53f
Move back resolv.h, nameser.h and netdb.h as they conflict with NetBSD headers and libc.
Gianluca Guida
2011-04-08 18:50:58 +00:00
c4928b2df9
libsys: fix micro_delay()
David van Moolenbroek
2011-04-08 16:57:44 +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 Veerman
2011-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 Veerman
2011-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 Veerman
2011-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 Veerman
2011-04-08 14:53:55 +00:00
8200e91073
Fixed smp compilation
Tomas Hruby
2011-04-08 11:52:30 +00:00
cd9b4b46f4
libexec: return physaddr info from ELF headers
Arun Thomas
2011-04-07 12:22:36 +00:00
b2c2dc72bc
LWIP - Fix for dhcpd broadcast to work after boot
Tomas Hruby
2011-04-07 07:44:27 +00:00
0039e02339
LWIP - scripts
Tomas Hruby
2011-04-07 07:44:23 +00:00
8171eb0b3d
LWIP - dhcpd --lwip
Tomas Hruby
2011-04-07 07:44:17 +00:00
dca25a1b39
LWIP - the lwip server
Tomas Hruby
2011-04-07 07:44:11 +00:00
abab24b785
LWIP - liblwip
Tomas Hruby
2011-04-07 07:43:36 +00:00
77172e23f7
LWIP - udp_io_hdr.h
Tomas Hruby
2011-04-07 07:43:03 +00:00
3bbd454578
[NBSD libc] Various fixes.
Gianluca Guida
2011-04-06 15:59:10 +00:00
8e5cad159f
mkfs.mfs: use bitchunk_t (reported by Maurizio Lombardi)
David van Moolenbroek
2011-04-05 19:42:08 +00:00
53ad9d83b9
libvtreefs: return OK from REQ_INHIBREAD (this unbreaks grep on /proc)
David van Moolenbroek
2011-03-31 16:23:00 +00:00
8a925dcf90
tail(1): write partial last line also with -f
David van Moolenbroek
2011-03-25 10:59:48 +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 Moolenbroek
2011-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 Moolenbroek
2011-03-25 10:52:53 +00:00
7a9e3651fd
drivers/sb16: delete altogether; the latest copy is in drivers/audio/sb16
David van Moolenbroek
2011-03-25 10:48:16 +00:00
294112db54
misc drivers: remove more non-safecopy support
David van Moolenbroek
2011-03-25 10:45:57 +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 Moolenbroek
2011-03-25 10:43:24 +00:00
9caa53e8d9
Add libasyn, asynchio support for netbsd libc.
Gianluca Guida
2011-03-23 15:28:22 +00:00
15e58909b6
NBSD includes: Include sys/reboot.h in unistd.h
Gianluca Guida
2011-03-22 14:54:38 +00:00
0dc9e0996a
Import unmodified NetBSD's libm for compiling with new libc.
Gianluca Guida
2011-03-18 15:52:16 +00:00
6f4e3dd910
Move elf headers in common/include and libexec.h in lib/libexec.
Gianluca Guida
2011-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 Veerman
2011-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 Kouwe
2011-03-16 12:25:10 +00:00
5f1ab506c8
remove some debugging output from vm/region.c
Ben Gras
2011-03-16 11:57:35 +00:00
898cce256f
Add support for the 82567LM flavor of e1000
Thomas Veerman
2011-03-15 10:04:35 +00:00
ba8af817fc
Fix compilation error. Does not need ansi.h header.
Thomas Veerman
2011-03-10 14:10:16 +00:00
db8c7af0b8
release.sh: explicitly use the pkgin pkg_install pkg_add
Ben Gras
2011-03-10 12:54:58 +00:00