Commit Graph

204647 Commits

Author SHA1 Message Date
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
jmcneill
7dc79b6997 return 'error' not 0, fixes non-module build 2011-08-28 20:22:42 +00:00
reinoud
4506c7ee5d Jump to `userland' or the other function specified in the pcb's ucontext 2011-08-28 19:41:34 +00:00
reinoud
d939ef9d28 Update trapframe and pcb 2011-08-28 19:40:26 +00:00
reinoud
5bff7aba43 Implement redementary setregs() 2011-08-28 19:39:42 +00:00
reinoud
6a43d1ff24 Clean child_return() 2011-08-28 19:39:05 +00:00
reinoud
8ee1de5709 Don't use the content of trapframe yet until we know how to use fill it 2011-08-28 19:38:20 +00:00
reinoud
28dc9d5982 Add thunk_makecontext_trapframe2go() 2011-08-28 19:37:15 +00:00
gson
61dd722e5c Golden output was not so golden after all 2011-08-28 19:09:34 +00:00
jmcneill
ef4207f305 pull in sys/mount.h; build fix for amd64 2011-08-28 18:48:46 +00:00
jmcneill
c252921e46 both LINUX_USRSTACK32 and USRSTACK32 need to be defined for linux32 2011-08-28 18:48:14 +00:00
wiz
10b0d879be Minor cleanup. 2011-08-28 17:21:28 +00:00
jmcneill
c8d7979553 add dependency on "drm" module 2011-08-28 17:18:31 +00:00