Commit Graph

200876 Commits

Author SHA1 Message Date
wiz 57309cc658 Sync usage with manpage. 2011-05-15 00:06:23 +00:00
christos ec3000cfb2 PR/44959: Henning Petersen: glob forgets to closedir on out of space condition. 2011-05-14 22:44:06 +00:00
joerg 4e20b7f563 Provide correct builtin search path for amd64's -m32 mode. 2011-05-14 22:27:58 +00:00
martin a9fb883f63 PR kern/44956: add support for Qinheng PCI cards to the puc driver 2011-05-14 22:07:38 +00:00
martin 0264248b21 Regen 2011-05-14 21:58:48 +00:00
martin 17cff40edc Add Nanjing QinHeng Electronics, from PR kern/44956. 2011-05-14 21:57:52 +00:00
dholland aae84c3a7c Improve documentation of FFS formats and format levels from PR 32100.
Prompted also by recent discussion on tech-kern. Bump date.
2011-05-14 19:46:10 +00:00
rmind 4f9fb56b98 fork1: fix stop-on-fork case, lend a correct lock to LWP for LSSTOP state.
Fixes PR/44935.
2011-05-14 18:50:07 +00:00
jakllsch 3af888c194 Convert remaining simplelock usage in dmover(4) to a RUN_ONCE(9). 2011-05-14 18:24:47 +00:00
rmind a4a64d151a - Sprinkle __read_mostly, consitify maxdmap and maxsmap.
- Prevent sys/resourcevar.h from inclusion in userland.
- sys_{set,get}priority: use id_t for 'who', not int.
- Make donice() routine static.
- Remove trailing spaces, KNF.
2011-05-14 17:57:05 +00:00
jmmv 21bb82bc2e Remove any stale .fifo files when doing 'test'. These may be leaked if
the user aborts the execution of atf-run with Ctrl+C, which will prevent
a subsequent 'make test' from working at all.
2011-05-14 17:47:28 +00:00
jmmv 9b4c1721f3 Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'. 2011-05-14 17:42:28 +00:00
rmind 53963a9398 Improve/fix comments, give more meaningful names for variables. 2011-05-14 17:12:28 +00:00
jmmv 9b52d4003a Revert my previous change. christos@ submitted a different fix pretty much
at the same time.  Did an update amd64 release build to ensure my change was
really not needed.
2011-05-14 16:46:55 +00:00
jmmv d899efcf6e Declare for-loop control variable outside of the for statement to prevent
a warning and therefore fix the build.
2011-05-14 16:27:49 +00:00
christos b139bf30af Turn on WARNS to 4, so that magically -std=gnu99 gets turned on and fix
the few warnings. Since the kernel uses c99, this makes kernel code that
uses c99 features compile.
2011-05-14 16:26:23 +00:00
tsutsui 599eb3007d Fix botch in rev 1.28 that causes wrong results of fcmp and ftst in FPE.
fpu_upd_fpsr() should be called even in discard_result case if an emulated
instruction gets proper result without signal.

Fixes weird behavior of awk(1) seen on /etc/rc.d/postfix on XM6i and
TME emulating sun3 without 68881.

Should be pulled up to all netbsd-4 and netbsd-5 branches.
2011-05-14 16:17:55 +00:00
nonaka f093dce515 Use PXA250 compat. rtc. 2011-05-14 15:02:29 +00:00
nonaka 64488ec1ec - Only when pxa_size isn't set, pxa_size is set.
- Split device_t/softc.
2011-05-14 15:01:50 +00:00
jakllsch 34c3adecb2 Convert simplelock to mutex in this portion of dmover(4). 2011-05-14 14:49:19 +00:00
nonaka a809f3868a PXA2X0_LCD_WRITETHROUGH is defflag'd. 2011-05-14 14:00:03 +00:00
jakllsch 4ac4f6b4d6 Modernize simple_lock() and ltsleep() usage in dmover(4).
(Thanks to rmind for providing hints on what was necessary.)
2011-05-14 13:52:00 +00:00
rmind 356c1e108a Replace simple_lock(9) with mutex(9), clean up. 2011-05-14 12:44:15 +00:00
tsutsui 5ecb087061 Use pmap_kenter_pa(9) for msgbuf memory which is not managed by VM. 2011-05-14 10:57:50 +00:00
tsutsui 015835c167 It's a bit horrible to call uvm_page_physload() from consinit().
Instead, prepare x68k_init() function for pre-main MD initialization as other
m68k ports and move uvm_page_physload() call and msgbuf initialization there.

Tested on X68030, but options EXTENDED_MEMORY is untested.
2011-05-14 10:49:06 +00:00
tsutsui 4b539d371e IODEVbase is the same address as intiobase, so make it an alias macro
and remove now almost empty x68k_init.c.
2011-05-14 10:19:58 +00:00
rmind f46b67cca2 Convert to mutex(9). Replace ltsleep with mtsleep. 2011-05-14 02:58:27 +00:00
rmind bb638787c4 Convert to mutex(9)/condvar(9). Use RUN_ONCE(9) to avoid racy init. 2011-05-14 02:27:35 +00:00
christos 018b374686 - don't assume aligned buffers.
- little KNF
2011-05-14 01:59:19 +00:00
nakayama 99c51b3804 Use %zd for ssize_t, and %zu for size_t. 2011-05-13 23:35:09 +00:00
nonaka 9af4d11fa4 Use "_end" instead of "end" for consistency with other architectures. 2011-05-13 23:14:36 +00:00
christos 1ff5a5dfd6 don't let readlink trash errno.; 2011-05-13 23:11:00 +00:00
rmind 6a0660a9b0 Replace some ltsleep() uses with kpause() and tsleep(). 2011-05-13 22:35:50 +00:00
rmind 3c66f2d262 filemon_open: remove unnecessary check (which has a leak in error path). 2011-05-13 22:31:08 +00:00
rmind 3bc401dcc3 Eliminate few references to ltsleep. 2011-05-13 22:28:40 +00:00
rmind 2db2f4467c - Replace shmmap_entry_pool with kmem(9), as pool is not worth.
- Sprinkle __cacheline_aligned and __read_mostly.
2011-05-13 22:22:55 +00:00
rmind 7507a4555c Sprinkle __cacheline_aligned and __read_mostly, also const-ify. 2011-05-13 22:22:03 +00:00
rmind f8060297de Sprinkle __cacheline_aligned and __read_mostly, make some functions static. 2011-05-13 22:19:41 +00:00
rmind f132c365c0 Sprinkle __cacheline_aligned and __read_mostly. 2011-05-13 22:16:43 +00:00
christos 5d62bbf09c remove dup code. 2011-05-13 21:15:34 +00:00
phx f2428d2dad Create sd0, wd1 and cd0 devices, to allow mounting installation media via
USB, a second disk or a CDROM drive.
2011-05-13 19:14:17 +00:00
wiz c2a5a3f0a6 new mdocml-1.11.2 out. 2011-05-13 06:39:39 +00:00
christos e405d5e040 mention new file 2011-05-13 01:58:34 +00:00
christos 896e69ee4b bump libmagic 2011-05-13 01:56:27 +00:00
christos 2344ff9853 resolve conflicts 2011-05-13 01:52:12 +00:00
msaitoh f28852500d regen. 2011-05-13 01:34:04 +00:00
msaitoh 452427b9ae add entries for 82579LM and 82579V 2011-05-13 01:33:10 +00:00
christos 5ccaa8c050 from ftp.astron.com.
- many security related fixes
- no MAXPATHLEN limits
- fixed missing text specification on ascii magic
- new ``pascal'' style string formats
- whitespace comparison fix
- more magic
2011-05-12 20:46:28 +00:00
tsutsui 2ec6f05a03 Make intiobase and intiolimit unsigned for consistency. 2011-05-12 15:07:42 +00:00
joerg 46f5119e40 Update LLVM and Clang snapshot 2011-05-12 14:56:22 +00:00