203924 Commits

Author SHA1 Message Date
riastradh
772f45cfc9 Cache vattr in psshfs's setattr.
This means within the cache window, a setattr that wouldn't change the
remote file's attributes from our current view of them will not be
relayed to the server and wait for the server to answer.  Thus, e.g., a
process with a periodic timer interrupt that calls open(2) in a loop
can make progress with much higher probability than without caching.

XXX The test case doesn't work, so it's currently disabled.  It needs
to stop the child of sshd that is handling an sftp session, not sshd
itself, and it's not obvious how to do that.

ok pooka
2011-08-12 04:14:00 +00:00
riastradh
c0f2eaa637 Need root for /dev/power. 2011-08-12 03:59:44 +00:00
riastradh
ebb828104e i386 and amd64 are on GCC 4.5 too now. 2011-08-12 03:26:51 +00:00
mrg
63f361426a print the ihandle passed in, not NULL. 2011-08-12 01:22:37 +00:00
jmcneill
26740a1a14 Clean up extern mess by adding an API for kernel components to call libc
functions. thunk.c is built with special cflags that makes it compile
against standard system headers instead of kernel ones.
2011-08-12 00:57:23 +00:00
joerg
6791cf96d2 Various warning adjustments for clang 2011-08-11 23:15:35 +00:00
jmcneill
21f7e025b7 initialize lwp0 l_addr so we can switch back to it 2011-08-11 23:04:43 +00:00
apb
7535058544 Allow "echo -n" to work as expected in rc.d scripts that are executed
by /etc/rc.  Similarly for printf with a format that does not end with
"\n".  Previously, the partial line would not be visible on the console
until a newline was printed, possibly after an annoying delay.

This is done by adding echo() and printf() shell functions to rc.subr,
so that naive use of the echo and printf commands in rc.d scripts will
call these functions instead of the underlying commands.  These shell
functions send a new "nop" metadata message after the partial line, and
the rc_postprocess function in /etc/rc disentangles the partial line of
plain output from the metadata "nop".

Also add a "-n" option to the print_rc_normal function in rc.subr,
and make some cosmetic changes.
2011-08-11 22:52:46 +00:00
jmcneill
a74059550d Instead of trying to override vers.o target, set NVFLAGS=-n 2011-08-11 22:38:25 +00:00
jmcneill
747111eaaf let md makefile add newvers.sh flags by setting NVFLAGS 2011-08-11 22:37:57 +00:00
jmcneill
cd4fe87b42 get this linking and running (sorta) again:
soundwave$ ./netbsd
NetBSD/usermode startup
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.55 (GENERIC) #10: Thu Aug 11 14:24:03 EDT 2011
        jmcneill@soundwave:/home/jmcneill/branches/HEAD/src/sys/arch/usermode/compile/GENERIC
total memory = 128 MB
avail memory = 124 MB
mainbus0 (root)
cpu0 at mainbus0
clock0 at mainbus0
ttycons0 at mainbus0: console
panic: setcontext failed: 14
rebooting...
Abort (core dumped)
2011-08-11 22:30:41 +00:00
jmcneill
3987d9df98 pmap_memory isn't a static array anymore so sizeof doesn't work on it 2011-08-11 22:26:18 +00:00
jmcneill
e7968ac3c4 add libcompat.o/.po targets for COMPAT_AS=obj 2011-08-11 21:23:09 +00:00
phx
9117e0918e Add viaide for Iomega Storcenter, although a VT6410 driver still needs to
be written.
2011-08-11 20:56:34 +00:00
cherry
5d5c189898 Unbreak the build. (conflicting types in function declaration and definition)
Thanks riz@
2011-08-11 20:33:20 +00:00
cherry
5e67834ba7 make ddb minimally MP aware 2011-08-11 19:52:52 +00:00
cherry
bc1cccc8d3 unbreak the build. #include <sys/cpu.h> 2011-08-11 18:36:13 +00:00
cherry
3c3a6a3a8e Hide the MD details of specific IPIs behind semantically pleasing functions. This cleans up a couple of #ifdef XEN/#endif pairs 2011-08-11 18:11:17 +00:00
cherry
fce2071912 More appropriate use of xen_send_ipi(). 2011-08-11 18:05:11 +00:00
cherry
3ccb0add41 Make event/interrupt handling MP aware 2011-08-11 17:58:59 +00:00
bouyer
2145e1ef4d Regen: add SiS 315 Pro VGA 2011-08-11 17:14:42 +00:00
bouyer
7c8596a4c1 Add SiS 315 Pro VGA 2011-08-11 17:14:12 +00:00
mbalmer
2533c9c8ac pwdog is not mi, but it only in the lists we build it for. 2011-08-11 12:03:58 +00:00
mbalmer
1d8ccccd63 pwdog is not for all platforms, build only on i386, x86_64, and sparc64 2011-08-11 12:03:06 +00:00
mbalmer
5e68c86d4d Fix a typo. 2011-08-11 11:21:06 +00:00
mbalmer
fcfcf17c68 Add the pwdog module to md.evbppc as well and take a note in mi that
module have to be added in md.evbppc as well (and why that is so).
2011-08-11 11:17:15 +00:00
cherry
e94a141bff per-cpu gdt support for xen 2011-08-11 11:01:30 +00:00
uch
154297fd6a add ATF tests for v7fs. patch by njoly@. thank you. 2011-08-11 10:52:12 +00:00
matt
2b4b011cf1 Add fdisk 2011-08-11 08:39:42 +00:00
he
99a364f4e3 Bump SYMTAB_SPACE so that it fits again. 2011-08-11 08:39:35 +00:00
mbalmer
c52f77ae96 Xr pwdog(4). 2011-08-11 08:00:05 +00:00
mbalmer
f961e1dc0a Add pwdog(4). 2011-08-11 07:58:56 +00:00
he
f7a04693d8 Bump the image size so that the contents fits again. 2011-08-11 07:47:22 +00:00
mbalmer
540a798676 Add entries for pwdog(4). 2011-08-11 07:38:56 +00:00
mbalmer
6b0f67776f Add commented out sample entry for pwdog(4). 2011-08-11 07:36:17 +00:00
mbalmer
352c784990 pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.
2011-08-11 07:33:24 +00:00
cherry
155048478e refactor the bitstring/mask operations to be behind an API. Make pending interrupt marking cpu aware. 2011-08-10 21:46:02 +00:00
cherry
941e03e900 KNF police (rmind@ :-) 2011-08-10 20:38:45 +00:00
hannken
3ec6312958 Update the (shared) v_interlock if the upper node changes. 2011-08-10 15:56:01 +00:00
wiz
4f1a87cdfa Sync usage with man page. 2011-08-10 12:13:20 +00:00
cherry
d7b11fa417 xen ipi infrastructure 2011-08-10 11:39:44 +00:00
uch
7d18226237 newfs_v7fs(8)'s -v and -P options are obsolete. changed to newfs(8) compatible -V option. 2011-08-10 11:31:49 +00:00
tsutsui
6fa6a60bcb Disable bzip2 support in freetype on xorg tools build.
Fixes PR xsrc/45223 (xorg tools build fails on CentOS due to
lack of bz2 support).
2011-08-10 10:34:48 +00:00
cherry
1f0a8a809d Introduce locking primitives for Xen pte operations, and xen helper calls for MP related MMU ops 2011-08-10 09:50:37 +00:00
christos
1a57823234 fix root.cache 2011-08-10 09:42:28 +00:00
plunky
867fdab687 disable some warnings to appease gcc-4.5 2011-08-10 08:10:39 +00:00
plunky
a8bf6c15ac use offsetof() rather than rolling our own, to appease gcc 4.5 2011-08-10 08:09:38 +00:00
plunky
98320184ef fix up some undefined behaviour, to appease gcc 4.5 2011-08-10 08:08:39 +00:00
kiyohara
4bb7b85e88 Obsolete some include files. 2011-08-10 07:56:59 +00:00
cherry
e0e9175da4 Add Xen specific members to struct cpu_info, Add proper per-cpu curcpu() functionality 2011-08-10 06:40:35 +00:00