Commit Graph

210717 Commits

Author SHA1 Message Date
christos b825b96b8e WARNS=5 2012-04-19 17:28:25 +00:00
christos 99b2fa090d Fix signed/unsigned issues. 2012-04-19 17:25:38 +00:00
christos ad1d2050fc - fix compilation isses
- add some error checking
- avoid alloca
- add missing frees
2012-04-19 17:09:53 +00:00
wiz 78496082c1 New sentence, new line. 2012-04-19 16:00:25 +00:00
ttoth c1270f067c chfs/debug.c deleted from files.ufs 2012-04-19 15:55:40 +00:00
christos 49a655adee Make declarations consistent, and change unsigned int to unsigned long so
that this works on LP64 machines. Why is the __mf_uintptr_t needed anyway?
2012-04-19 15:52:39 +00:00
ttoth 0751a667c7 added chfs support for makefs 2012-04-19 15:36:06 +00:00
bsh f93c4185bf support SD/MMC on Netwalker. 2012-04-19 09:53:53 +00:00
macallan 0b42cd2335 glyphcache_init() works best with its parameters in the right order. Doh.
While there request an RGB devcmap.
2012-04-19 09:03:01 +00:00
macallan 321642ae48 glyphcache_init() works much better with its parameters in the right order 2012-04-19 08:59:42 +00:00
macallan 4d3aa5644d no need to convert cell number to coordinates every time we draw a glyph
from cache - just stick the coordinates directly into the map
2012-04-19 08:46:17 +00:00
macallan efeff40d67 use rasops_get_cmap() 2012-04-19 06:58:55 +00:00
macallan 2320319a93 add another convenience function:
rasops_get_cmap() which returns either the ANSI map or an R3G3B2 map,
depending on the rasops_info handed to it so drivers don't have to
duplicate this particular code snippet
2012-04-19 06:57:39 +00:00
christos 9b0d6930b2 add _pic files 2012-04-18 22:44:43 +00:00
christos 9175dee1fe bad name 2012-04-18 22:42:21 +00:00
bouyer f1decb173d Regen: Add various newer LSI RAID/SAS controllers 2012-04-18 21:22:26 +00:00
bouyer 69f8b811a8 Add various newer LSI RAID/SAS controllers, from OpenBSD. 2012-04-18 21:21:59 +00:00
bouyer 8574d74b55 Fix KASSERT(): autoconf doesn't run under the KERNEL_LOCK 2012-04-18 20:37:49 +00:00
christos ca5a32edc2 specify size of the array to help -fmudflap 2012-04-18 19:30:15 +00:00
christos f03549c50e add mudflap 2012-04-18 19:29:01 +00:00
christos 6e275ac292 add the mudflap include and libraries 2012-04-18 19:22:03 +00:00
christos 6b798f149f move include to the gcc-4.5 subdir. 2012-04-18 19:21:25 +00:00
wiz d2ca09c94d Bump date for previous.
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.
2012-04-18 14:24:26 +00:00
yamt 673662ef94 comment 2012-04-18 13:42:11 +00:00
joerg e3482212aa Don't depend on implicit enum casts, be explicit. 2012-04-18 13:31:10 +00:00
tsutsui 07a6a7e726 Replace not only space but also '(' and ')' on generating BUILD_PLATFORM
strings to appease shell's echo.
Cygwin's uname -r returns "1.7.9(0.237/5/3)" etc.
2012-04-18 11:28:30 +00:00
martin 91d93016c8 poll(), pollts() and select() all return int values, but in the hijack
emulation of them these get passed as exit values from a pthread as
a void* (c.f. pthread_join(), pthread_exit()).
Do not use the address of an int variable for these, but provide the address
of a void* and assign the value afterwards.
Fixes hijacking of pollts/select on 64bit big endian hosts.
Spotted by and fix from pooka.
2012-04-18 10:37:37 +00:00
bsh c368cb1d52 adapt to imxclock.c rev 1.5. 2012-04-18 05:54:07 +00:00
christos f89a1d6f2b NetBSD fixes:
1. thread_self() returns a pointer, not an unsigned integer
2. Add NetBSD to Apple and FreeBSD defines
3. Add _NETBSD_SOURCE where needed
4. Add an extra define BEGIN_PROTECTV for void functions to avoid return
   free(); where free is void.
5. Avoid weak symbol hacks to determine if we are threaded or not. We
   have a threaded copy of the library, why bother?
6. change __attribute -> __attribute__ since the former is not covered by
   our cdefs.h
2012-04-18 02:55:05 +00:00
christos d0800ba09f add preliminary build glue for mudflap; only the shared libraries work,
the static ones will need us to add __real_foo aliases for a bunch of
functions in libc.
2012-04-18 02:52:07 +00:00
manu 70d8192475 - When using PUFFS_KFLAG_CACHE_FS_TTL, do not use puffs_node to carry
attribute and TTL fora newly created node. Instead extend puffs_newinfo
  and add puffs_newinfo_setva() and puffs_newinfo_setttl()
- Remove node_mk_common_final in libperfuse. It used to set uid/gid for
  a newly created vnode but has been made redundant along time ago since
  uid and gid are properly set in FUSE header.
- In libperfuse, check for corner case where opc = 0 on INACTIVE and   RECLAIM (how is it possible? Check for it to avoid a crash anyway)
- In libperfuse, make sure we unlimit RLIMIT_AS and RLIMIT_DATA so that
  we do notrun out of memory because the kernel is lazy at reclaiming vnodes.
- In libperfuse, cleanup style of perfuse_destroy_pn()
2012-04-18 00:57:21 +00:00
manu 2af7ec529e - Makesure update_va does not change vnode size when it should not. For
instance when doing a fault-issued VOP_GETPAGES within VOP_WRITE, changing
size leads to panic: genfs_getpages: past eof.
-Handle ticks wrap around for vnode name andattribute timeout
2012-04-18 00:42:50 +00:00
martin ca7d70aa58 While we need an absolute path when loading a module (including the .kmod
extension), we want the shortname w/o extension for the unload.
2012-04-17 21:39:19 +00:00
christos ec252a38db it is not an error if the kernel needs to clear the setuid/
setgid bit on write/chown/chgrp
2012-04-17 19:15:15 +00:00
rkujawa 3b1a228346 Note clockport support and SilverSurfer driver. 2012-04-17 15:34:51 +00:00
rkujawa 013bef5bf0 Note clockport(4) and a1k2cp(4). 2012-04-17 15:30:35 +00:00
khorben 446efaca9f Added myself to the list of NetBSD Developers 2012-04-17 14:11:59 +00:00
cegger 3f7c493abc print cpu family for AMD CPU families 0x12 - 0x15 2012-04-17 13:00:09 +00:00
macallan b75a7aad08 fix what has to be a thinko - I doubt there's much hardware out there that
uses BGR in 15/16 bit colour
2012-04-17 12:06:25 +00:00
wiz 71d8b73682 Bump date for previous. 2012-04-17 11:00:43 +00:00
rkujawa e1a7307087 Note that com(4) is now also supported on top of clockport(4). 2012-04-17 10:55:41 +00:00
bsh 456cfa8109 Support i.MX51's LCD framebuffer on Netwalker.
from Kenichi Hashimoto.
2012-04-17 10:19:57 +00:00
wiz 6c0c790279 Remove trailing whitespace and empty line. Fix table. 2012-04-17 10:16:57 +00:00
wiz eda83bf290 Remove trailing whitespace. New sentence, new line. 2012-04-17 10:16:37 +00:00
rkujawa c878064cd3 add a1k2cp(4) and clockport(4) man pages to distribution list 2012-04-17 10:14:12 +00:00
rkujawa 9671b3d53a Add man pages for the new clockport(4) and a1k2cp(4). 2012-04-17 10:12:35 +00:00
rkujawa c2b6428d4e add missing amiga device names 2012-04-17 10:08:07 +00:00
rkujawa 1bd1939218 regen configs 2012-04-17 10:06:32 +00:00
rkujawa 19eda64f80 Add clockport(4) layer, which provides support for expansion bus present on
Amiga-style clockports. Also add a1k2cp(4) backend driver and the first
clockport device driver com_ss, that supports com(4) on clockport(4)
(particurarly Individual Computers SilverSurfer). Disabled by default,
since probe procedure is not written yet.
2012-04-17 09:59:03 +00:00
bsh 056b7b23a0 driver for i.MX51 Clock Controller Module.
from Kenichi Hashimoto.

Currently used only to get peripheral clock frequencies.
2012-04-17 09:33:31 +00:00