christos
ed36ef9858
Factor out some common code (more to be done) from PR/48821
2014-05-19 17:14:41 +00:00
joerg
30308f423a
Import compiler-rt r209132. Revert use of TI mode on 32bit PPC.
2014-05-19 16:11:28 +00:00
kleink
eead6b988e
Move declarations of getdelim() and getline() from the (incorrect) ANSI C
...
section to POSIX-2008. From Jarmo Jaakkola in PR standards/48788.
2014-05-19 16:04:10 +00:00
martin
25fbf89b06
Create /var/tmp for vi. Pointed out by Izumi Tsutsui.
2014-05-19 15:57:04 +00:00
martin
e2e67479c9
Make it compile without options DIAGNOSTIC by removing a variable only set
...
once and only tested once in an assert.
2014-05-19 15:44:04 +00:00
riastradh
7e88065a92
Remove (bad) debugging message that crept into i915_gem_gtt_init.
2014-05-19 14:57:37 +00:00
riastradh
14d191068e
Fix page/byte sense of AGP GTT parameter calculations.
2014-05-19 14:55:46 +00:00
riastradh
31ed01fae9
Use correct value for gtt->gtt_bsh in agp case (unused, so harmless).
2014-05-19 14:44:36 +00:00
riastradh
5acb9c2dd2
Use the scratch page, not zero, to clear ggtt entries for gen<6.
2014-05-19 14:39:33 +00:00
martin
545afccdc2
Document MKCROSSGDB, MKKDEBUG and build.sh kernel.gdb=
2014-05-19 10:12:19 +00:00
martin
d6af3a0abf
Document MKDEBUG and MKDEBUGLIB
2014-05-19 09:56:17 +00:00
martin
8800a5ed8e
Document external directories
2014-05-19 09:49:07 +00:00
skrll
62041701dc
Build fix for when there is no gpio in the kernel.
...
PR/48816: Compile fix for src/sys/arch/arm/broadcom/bcm2835_gpio.c
2014-05-19 08:33:41 +00:00
matt
6534f89c77
Update PCU_REENABLE for MP. For UP, add a KASSERT to make sure it's never
...
present.
2014-05-19 07:09:10 +00:00
matt
3d185b2591
When completing a FP trap, only load the FPU if we don't already own it.
...
While the FPU is on, disable kernel preemption.
2014-05-19 06:55:54 +00:00
riastradh
8557df8fac
Back out previous silliness -- on failure no pages are allocated.
2014-05-19 05:48:14 +00:00
uebayasi
582f22c9fc
Tag all 0600 files as "nodiff" (== secret).
2014-05-19 05:43:35 +00:00
riastradh
1b07394016
Don't leak memory on failure in uvm_pglistalloc_contig.
...
Free pages like uvm_pglistalloc_simple does.
Discovered by code inspection.
2014-05-19 05:24:29 +00:00
rmind
19429f513e
l2cap_detach1: fix gcc warning for non-DIAGNOSTIC case.
2014-05-19 03:18:57 +00:00
rmind
4ae03c1815
- Split off PRU_ATTACH and PRU_DETACH logic into separate functions.
...
- Replace malloc with kmem and eliminate M_PCB while here.
- Sprinkle more asserts.
2014-05-19 02:51:24 +00:00
justin
c922b676b6
Fix prototype of last arg of rump_sys_mknod to dev_t not uint32_t
...
Discussed with pooka@
See also https://github.com/rumpkernel/buildrump.sh/issues/53
2014-05-18 21:25:44 +00:00
christos
12c7860cd6
remove stray line accidentally committed.
2014-05-18 18:43:46 +00:00
jakllsch
68fd71584a
add hythygtemp module to set lists
2014-05-18 18:28:48 +00:00
jakllsch
7236048644
add hythygtemp man page files to setlist
2014-05-18 18:24:16 +00:00
rmind
37af0cc75d
Fix RUMP build.
2014-05-18 17:57:44 +00:00
apb
1e91429bfd
Many changes to tzdata2netbsd.
...
This has been tested in a private repository.
* Use set -e
* Pass -d ${CVSROOT} to all cvs invocations. cvs import needs it.
* cvs import needs to be done in the directory where the tarball
was extracted.
* cvs import does not take a "-F messagefile" option (as cvs commit does);
it needs "-m messagestring".
* The DOIT function now prompts for a yes/no/quit response, and quotes
complex arguments when printing the command.
* When checking the PGP signature, require the correct key to have been used.
* Usability improvements when editing the cvs log message.
* More error checking.
2014-05-18 16:53:56 +00:00
wiz
f21550261f
Whitespace and punctuation.
2014-05-18 15:45:08 +00:00
rmind
39bd8dee77
Add struct pr_usrreqs with a pr_generic function and prepare for the
...
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.
Bump for struct protosw. Welcome to 6.99.62!
2014-05-18 14:46:15 +00:00
rmind
9cf83d0317
Fix RUMP build.
2014-05-18 14:03:26 +00:00
martin
483126c11b
PR install/48818: put vi on install CDs
2014-05-18 13:06:12 +00:00
wiz
331e85e813
New sentence, new line. Sort SEE ALSO. Whitespace.
2014-05-18 12:45:03 +00:00
kardel
54c2251d60
add HYT-221/271/939 humidity/temperature I2C sensor
...
extend envsys(4) framework by %rH (relative humidity)
2014-05-18 11:46:23 +00:00
martin
13bd467664
No need to re-set MDLWP_FPACTIVE in the REENABLE case - it should be
...
set already.
2014-05-18 11:04:51 +00:00
martin
3313ae3d61
Re-enable alpha IEEE compiler options
2014-05-18 10:47:03 +00:00
martin
e16f12d468
Properly handle PCU_REENABLE in fpu_state_load. Hint from Nick Hudson.
...
This seems to help PR port-alpha/48782 a lot.
2014-05-18 10:43:54 +00:00
nat
dc2ecd830b
libossaudio minor version bump to signify new ioctls.
2014-05-18 10:36:34 +00:00
njoly
9676d5d738
Simplify dup3 emulation to call dodup() directly instead of
...
sys_dup2()+fd_set_exclose(). While here, add some error conditions.
2014-05-18 09:30:00 +00:00
rmind
af0c2e41d7
- Move ifnet_list (and lo0ifp while here) under #ifdef _KERNEL.
...
- Make ifindex2ifnet, if_indexlim and some other variables static.
- Move if_index generation into its own function.
- if_alloc/if_free: replace malloc with kmem.
2014-05-18 00:33:20 +00:00
rmind
94eca5faba
Use IFNET_FIRST() rather than open coding ifnet access.
2014-05-18 00:10:11 +00:00
rmind
c3f8d27787
sonewconn: insert the socket into the queue *after* the protocol attach.
...
This potentially avoids unnecessary race conditions when handling partial
connections.
2014-05-17 23:55:24 +00:00
joerg
767787d382
Use compiler-rt in libc for Clang on NetBSD/ARM as well.
2014-05-17 23:32:32 +00:00
joerg
38febcf304
Structure HAVE_LIBGCC condition similar to HAVE_LIBGCC_EH.
2014-05-17 23:31:57 +00:00
rmind
004d195aec
fifo_open: assign v_fifoinfo once initialised; add an assert while here.
2014-05-17 23:30:24 +00:00
rmind
26e5a75962
- fsocreate: set SS_NBIO before the file descriptor is affixed as there is
...
a theoretical race condition (hard to trigger, though); remove the LWP
parameter and clean up the code a little.
- Sprinkle few comments.
- Remove M_SOOPTS while here.
2014-05-17 23:27:59 +00:00
rmind
250d3c701d
- sonewconn: improve the initialisation order and add some asserts.
...
- Add various comments describing primitive routines operating on sockets,
clarify connection life-cycle and improve the description of socket queues.
- Sprinkle more asserts.
2014-05-17 22:52:36 +00:00
rmind
e16e8aee89
makesocket: set SS_NBIO slightly earlier.
2014-05-17 21:48:48 +00:00
rmind
3e8fbba831
Remove trailing whitespaces, wrap long lines, minor KNF; no functional changes.
2014-05-17 21:45:02 +00:00
rmind
bc9504c95e
Replace open-coded access (and boundary checking) of ifindex2ifnet with
...
if_byindex() function.
2014-05-17 21:26:20 +00:00
rmind
169afaf534
Rename LIST_CONCAT() to LIST_MOVE() as that is what it actually does (and
...
there is no point to implement LIST_CONCAT() which would iterate). Update
the queue(3) manpage.
2014-05-17 21:22:56 +00:00
rmind
44b8265175
Fix previous.
2014-05-17 21:00:33 +00:00