Commit Graph

204659 Commits

Author SHA1 Message Date
joerg
6e33bec8d4 static + __dead 2011-08-29 14:05:08 +00:00
joerg
136ac38948 ANSIfy + static + __dead 2011-08-29 14:00:54 +00:00
joerg
d04cc43e5c usage() is not unused, it is dead 2011-08-29 13:56:17 +00:00
joerg
49dbe234f7 static + __dead 2011-08-29 13:55:22 +00:00
joerg
a631748810 Sprinkle NORETURN. 2011-08-29 13:51:38 +00:00
joerg
a746333485 static + __dead 2011-08-29 13:47:16 +00:00
wiz
b3638dac15 Some fixes from Jared, add zl10353, update AUTHORS. 2011-08-29 13:42:53 +00:00
jmcneill
fffda35fbf mem_access_handler: print originating lwp ptr + pid + lid 2011-08-29 13:15:54 +00:00
jruoho
86cc76e795 Remove Xfails that are related to the infamous qemu/amd64 floating point
bugs. It appears to be quite difficult to identify the exact Qemu version
and setup. These do not fail on the TNF's qemu/amd64 setup, which can be
taken as a reference point for expected failures.
2011-08-29 12:50:50 +00:00
christos
010ceb7a08 - err -> errx mistakes
- make sure that -v does not change the program behavior
- don't set revents in poll
- add more debugging
- only call read when we have POLLIN
- don't mix I/O from master while processing input
2011-08-29 12:49:37 +00:00
reinoud
e5e1d509fa Dirty commit of machdep.c and cpu.c 2011-08-29 12:46:58 +00:00
christos
45c0e7eb0b fix bug where we read the same argument twice. Name the timeout val the
same 'tval' in both timeout routines.
2011-08-29 12:46:03 +00:00
christos
ee83fe41db comment out racy test that I will not bother fixing for now. 2011-08-29 12:44:35 +00:00
christos
6247ed98ed change comparend to compare so that this passes now. 2011-08-29 12:43:51 +00:00
christos
4ac2ea1b30 This could have never worked before since the syntax was wrong. Unfortunately
since I added the error checking, I was blamed for it failing. Go figure.
2011-08-29 12:42:57 +00:00
reinoud
b712430e59 Hack trap for now to upgrade protection.. this really needs fixing soon 2011-08-29 12:42:19 +00:00
christos
e23c9e7ff0 we never get the b character since we timeout and drain! 2011-08-29 12:41:38 +00:00
christos
c029707cf1 make sure that our terminal has a consistent size now that terminfo obeys
the environment variables.
2011-08-29 12:40:59 +00:00
jruoho
fef3cbf8c7 Fix markup-typo. 2011-08-29 12:39:50 +00:00
reinoud
af359ca884 Update pcb and trapframe 2011-08-29 12:37:53 +00:00
jruoho
1d9550a5a1 Build libutil(3) as a link to util(3). 2011-08-29 12:37:52 +00:00
reinoud
3e34fed0d4 Update syscall prototype 2011-08-29 12:37:20 +00:00
jruoho
0c84062280 Note strpct(3). 2011-08-29 12:32:54 +00:00
jruoho
7fc7b88321 Remove a comma. From "Snader_LB" on freenode. 2011-08-29 11:47:46 +00:00
mrg
f385d8f556 add the device publish daemon, written by jmcneill@.
listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
  - manual page
  - rc.d script
  - more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing.  you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!
2011-08-29 11:38:48 +00:00
jruoho
389b587089 Xref auvitek(4) also in SEE ALSO (and the others as comments). 2011-08-29 11:23:53 +00:00
jruoho
b5fcb61237 Fix RCS keyword string. 2011-08-29 11:16:35 +00:00
jruoho
df2580b9bc Add Zarlink ZL10353 DVB demodulator (or as it is now know, Intel CE623x). 2011-08-29 11:14:15 +00:00
christos
ef87b14708 Fix for systems that don't have TCSASOFT as intended originally. Simplify. 2011-08-29 11:07:38 +00:00
jruoho
4384aaccea Install the dtv(4) manual page. (The stub man-pages are commented out ATM.) 2011-08-29 10:48:57 +00:00
jruoho
607caaa5f0 Fix xref-typo in the previous. 2011-08-29 10:43:52 +00:00
jruoho
b6d372f02c Various improvements; e.g. primarily speak about DTV (i.e. DVB is just a
standard), split out SUPPORTED DEVICES from SEE ALSO, improve grammar, fix
references, speak about interface instead of device, fix AUTHORS, etc.
2011-08-29 10:41:10 +00:00
jmcneill
1f02a7ab53 build pf module with WARNS=3, and remove the need for -Wno-shadow 2011-08-29 09:50:04 +00:00
wiz
7c47a19704 Add libppath. 2011-08-29 08:58:18 +00:00
gson
364b5325bc Fix remaining misaligned columns in golden output, missed in previous commit 2011-08-29 04:55:58 +00:00
manu
96c935e33b Add a mutex for operations that touch size (setattr, getattr, write, fsync).
This is required to avoid data corruption bugs, where a getattr slices
itself within a setattr operation, and sets the size to the stall value
it got from the filesystem. That value is smaller than the one set by
setattr, and the call to uvm_vnp_setsize() trigged a spurious truncate.
The result is a chunk of zeroed data in the file.

Such a situation can easily happen when the ioflush thread issue a
VOP_FSYNC/puffs_vnop_sync/flushvncache/dosetattrn while andother process
do a sys_stat/VOP_GETATTR/puffs_vnop_getattr.

This mutex on size operation can be removed the day we decide VOP_GETATTR
has to operated on a locked vnode, since the other operations that touch
size already require that.
2011-08-29 04:12:45 +00:00
rmind
501f07ce79 Add kern.direct_select sysctl. Default to 0 for now. 2011-08-29 00:39:16 +00:00
enami
8bc2f3136d No need to print internal state once debug is done. 2011-08-29 00:36:20 +00:00
jmcneill
78c607658a override thunk.d and thunk_sdl.d targets 2011-08-28 23:16:18 +00:00
jmcneill
eb0ad8c7a7 let kernel makefile override *.d targets 2011-08-28 23:15:53 +00:00
jym
cb1f14140c VIRQ_TIMER virqs are allocated and tracked in a array
(virq_timer_to_evtch, indexed by cpuid) different from the
VIRQ <> event channel one (virq_to_evtch, indexed by event channel ID).

This is fine: fix a "harmless" bug that resulted in the event
channel of VIRQ_TIMER getting lost during bind as it was not stored
in the proper array.

"Harmless" because it is not critical for -current, however in the Xen
save/restore branch this completely cripples restore. Xen clock gets
suspended, but never comes back (fetched channel ID being invalid). Oops.

Add a small comment so we can better see the "get => allocate? => set"
chain of actions when binding/unbinding event channels.
2011-08-28 22:55:52 +00:00
jym
4128291e47 KNF, white spaces and comment typo fixes. 2011-08-28 22:36:17 +00:00
mrg
e3a2fad897 apply some always_inline attribute to setpsr and spl*. while i am
not yet sure exactly why this is necessary, but does avoid crashes
seen on sparc INSTALL with gcc 4.5.
2011-08-28 22:30:09 +00:00
jym
1751c709ef Be more precise for Xen: +++++ is only valid for Xen domUs. dom0 uses
the same key sequences as i386/amd64.
2011-08-28 22:09:36 +00:00
jmcneill
61d5347ce8 cpu_reboot: only call thunk_abort if RB_DUMP is set 2011-08-28 21:31:41 +00:00
wiz
f91d202feb Move a sentence to where it makes more sense. 2011-08-28 21:25:11 +00:00
jmcneill
878807041a turn off input echo and buffering 2011-08-28 21:21:05 +00:00
jmcneill
bb6843bc98 add thunk_tcgetattr and thunk_tcsetattr 2011-08-28 21:19:49 +00:00
martin
dc72817057 Rename isbad argument to is_bad - stupid namespace pollution and ancient
bad sector routines interfere on some archs and cause global shadowing
warnings.
2011-08-28 20:49:30 +00:00
jmcneill
5a2b8072e4 return 'error' not 0, fixes non-module build 2011-08-28 20:37:06 +00:00