Commit Graph

200741 Commits

Author SHA1 Message Date
tsutsui
df5bdfa0ca - fix build failure on CentOS 5
(it looks bash doesn't like redirection operators before commands)
- use ${TOOL_SED}
2011-05-15 15:10:12 +00:00
christos
edde9a4247 find system.h in src 2011-05-15 14:57:56 +00:00
christos
3375c9d9a4 include "system.h" for idir() 2011-05-15 14:57:35 +00:00
christos
2944c22d0c include <sys/ioctl.h> for ioctl() 2011-05-15 14:35:47 +00:00
christos
6cea01f069 register c -> int c 2011-05-15 14:31:13 +00:00
christos
c6b5a988f9 include headers to make prototypes visible. 2011-05-15 14:30:08 +00:00
christos
97a122a2f7 update from OpenBSD by msaitoh. Tested on amd64. 2011-05-15 13:56:20 +00:00
christos
6dbc927938 include posixver.h to find the prototype for posix2_version() 2011-05-15 13:55:21 +00:00
he
4543dbda00 Bump SYMTAB_SPACE so that the contents fits again. 2011-05-15 13:36:13 +00:00
jym
264d3132bf Use atomic_ops(3) for ref counting. 2011-05-15 07:24:15 +00:00
christos
2c52b012a9 missing string.h 2011-05-15 01:16:29 +00:00
christos
3326babf00 copy from misc directory 2011-05-15 01:13:29 +00:00
msaitoh
22c389a767 Add support for Intel 6 series. 2011-05-15 01:00:52 +00:00
msaitoh
720f669b3d regen. 2011-05-15 01:00:07 +00:00
msaitoh
66284465df Add entries for Intel 6 series' devices. 2011-05-15 00:59:36 +00:00
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