Commit Graph

208683 Commits

Author SHA1 Message Date
macallan 2ed32c39b4 use memset() to clear character cells instead of being terribly slow 2012-01-25 20:18:04 +00:00
tron 02f477e6b9 Add brackets arround macro arguments to avoid nasty problem caused by
macro expansion.
2012-01-25 19:47:18 +00:00
christos 674e61f5f1 missing paren 2012-01-25 19:39:07 +00:00
christos 669aa7297a make powerpc compile. 2012-01-25 19:24:21 +00:00
phx c43563e336 netboot is called altboot now 2012-01-25 19:03:35 +00:00
christos 3628cdc41a Add a macro to align the length of the stack, not the pointer itself, since
we always want the alignment to grow the length.
2012-01-25 18:26:26 +00:00
matt 83d4c4e701 Enable direct-mapped uareas for alpha. 2012-01-25 18:09:13 +00:00
dholland 2cd8cfd233 Set list update for libquota manpage 2012-01-25 17:54:32 +00:00
dholland a9927e3f0e Add a preliminary man page for libquota. 2012-01-25 17:45:13 +00:00
dholland fa577c93e1 Improve how quota_open() works and generally improve function
dispatching. Allow access to the quota files via the oldfiles code if
quotaon hasn't run yet. Change the latter so it calls getfsent() up
front (and only once) to make it easier to avoid whacking caller
state.
2012-01-25 17:43:37 +00:00
tsutsui d2ff9e27a9 STACKALIGN(fp) -> STACK_ALIGN(fp, STACK_ALIGNBYTES)
per recent param.h cleanup.
2012-01-25 17:38:09 +00:00
tsutsui 5ecce0f8ee - TAB/space cleanup
- add a comment
2012-01-25 17:18:47 +00:00
christos da2b6379c3 hack to make sh3 build. 2012-01-25 17:01:02 +00:00
christos 2cb5518094 revert atomics for so_options since it is a short. 2012-01-25 16:56:13 +00:00
tsutsui 6145ba81f6 Reorganlization zlcd(4) and ztp(4) device attachments from nonaka@:
- ztp depends on zssp so attach ztp at zssp rather than pxaip
 - split LCD backlight controls from zlcd(4) into new lcdctl device
   to share it among forthcoming SL-C7x0 variants
2012-01-25 16:51:17 +00:00
christos 7c79471a43 Deal with sh3 having no FPREGS and having 32 bit pointers and 64 bit CORE_ADDR.
Ugly.
2012-01-25 16:48:44 +00:00
macallan 8b892b4cb6 rasops8_putchar_aa():
render glyphs scanline by scanline into a 64bit-aligned buffer, then memcpy()
it into video memory instead of writing directly.
This gives >10% speedup even on valkyriefb, likely more on PCIe framebuffers.
2012-01-25 16:38:27 +00:00
christos bf1e6562d5 fix this properly. 2012-01-25 16:25:28 +00:00
christos 3fb02d96a3 make thi 2012-01-25 16:21:22 +00:00
christos 525fde84b9 make gdb link again 2012-01-25 16:08:37 +00:00
tsutsui fd148500e6 Defer device initializations which implicitly depend on scoop or ioexp
via config_finalize_register(9).
2012-01-25 15:58:10 +00:00
christos dda8ca9ddb need <sys/atomic.h> 2012-01-25 15:51:24 +00:00
roy 4f23fde8b3 Fix for IPv6 RS support. 2012-01-25 14:39:05 +00:00
roy 87b58bb61e Document import of dhcpcd-5.5.0 2012-01-25 14:36:30 +00:00
roy c59dcc5ba2 Sync 2012-01-25 14:34:31 +00:00
roy 35102f5b06 Import dhcpcd-5.5.0 with the following changes:
* Shell portability fixes, including proper printf usage.
* Detect a valid ntp.conf before adjusting it
* reboot timeout changed to 5 seconds
* When rebooting and not daemonized, reduce the discover timeout
  to allow for fallback or IPv4LL
* Respect each kernel carrier message
* Optimize some bitwise logic
* Don't remove interfaces for which commands have not been sent
* Store the assigned metric to each route so that we can change metrics on the fly
  dhcpcd -n --metric 100 iwi0
* Add SixRD support, RFC5969
* Fix SIP server support
* Only regen resolv.conf if it has changed
* Fix --reconfigure from spinning
* Add IPv6 Router Solicitation support we regards to RDNSS and DNSSL, RFC6016
2012-01-25 14:33:03 +00:00
christos 4cdc612f05 Add FNOSIGPIPE for compat32; noted by yamt. 2012-01-25 14:06:07 +00:00
christos c18451845a Add locking, requested by yamt. Note that locking is not used everywhere
for these.
2012-01-25 14:04:09 +00:00
he 281cbfe50c After christos@ latest re-structuring of includes and defines in
the various param.h files, STACKALIGNBYTES is now called STACK_ALIGNBYTES,
so adapt accordingly.
2012-01-25 13:29:58 +00:00
wiz 055d17ad2a gdb-7.4 out. 2012-01-25 09:36:13 +00:00
wiz 5b0d8eba79 Fix Dd argument. 2012-01-25 09:21:29 +00:00
wiz a3c4a222b1 Bump date for previous. 2012-01-25 09:18:52 +00:00
macallan 6d2ab8c1b4 chipsfb works on shark, finally mention that in the man page 2012-01-25 04:18:31 +00:00
macallan 0f92837504 add a simple glyph cacheing scheme
Glyphs which use the default attribute will be saved into offscreen video
memory the first time they're used and subsequent uses will just copy them
from there instead of rendering them every time.
This should give a nice speedup especially on slow CPUs.
2012-01-25 03:49:12 +00:00
christos 6dc91634bc remove error(1) junk. 2012-01-25 03:26:39 +00:00
christos 3010244ff3 Fix i386 2012-01-25 03:25:02 +00:00
macallan 1a435f513d sprinkle sc_ to make it consistent 2012-01-25 02:04:35 +00:00
dholland 738d51f0ef attribute noreturn -> __dead 2012-01-25 01:28:40 +00:00
dholland b483fd9867 More cleanup of repquota. For now we're going to compile in the number
of possible ID and object types, as making those numbers non-constant
requires a major rework.

This removes all dependence on quotaprop.h except for the code for
dumping the quota information as a blob of quota RPC XML packets. That
needs to go too and be replaced with a tabular dump format, but one
thing at a time.
2012-01-25 01:24:53 +00:00
dholland 2d709bd6e8 Remove unnecessary include. 2012-01-25 01:24:07 +00:00
dholland 92d1ae00da Move some more stuff technically specific to the proplib kernel
interface into the source file for using the proplib kernel interface.
2012-01-25 01:22:56 +00:00
yamt 52f9195946 yamt-pagecache 2012-01-25 00:43:03 +00:00
christos 5418d2a724 As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE
on EPIPE for all file descriptor types:

- provide O_NOSIGPIPE for open,kqueue1,pipe2,dup3,fcntl(F_{G,S}ETFL) [NetBSD]
- provide SOCK_NOSIGPIPE for socket,socketpair [NetBSD]
- provide SO_NOSIGPIPE for {g,s}seckopt [NetBSD/FreeBSD/MacOSX]
- provide F_{G,S}ETNOSIGPIPE for fcntl [MacOSX]
2012-01-25 00:28:35 +00:00
dholland d716fa09ba Remove stray file that appears to have come from the CVS distribution.
How it got here isn't entirely clear, but it's clear that it should go.
2012-01-24 22:40:20 +00:00
drochner 7ccdced9b5 fix pointer/offset mistakes in handling of IPv4 options 2012-01-24 21:57:03 +00:00
jakllsch e1f88cea88 Rework struct ata_command to support LBA28 and LBA48-protocol commands.
Implement 28- and 48-bit command issuance and parameter read-back in the
various ATA host drivers. Add LBA28-protocol support to ATAIOCCOMMAND ioctl.
2012-01-24 20:04:07 +00:00
christos dd23e71080 Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently,
and avoid definining them in 10 different places if not needed.
2012-01-24 20:03:36 +00:00
macallan c7518a3ad4 mention valkyriefb and videopll 2012-01-24 19:33:27 +00:00
abs 3a4ca493bc s/is the not root/is not the root/ in a comment - from Snader_LB 2012-01-24 17:37:34 +00:00
hauke cf29c1f96a Add support for BSD disklabels, scanning the beginning of the disk
in four-byte strides, like disklabel(8) does it.

Since the netbsd-6 branch is around the corner, this is a
minimally-intrusive addition.

Note there is no write support, for good reasons.
Note also that disksubr.c is in dire need of re-structuring.
2012-01-24 15:24:55 +00:00