Commit Graph

187382 Commits

Author SHA1 Message Date
skrll
6ab17f1b21 Add some comments. 2010-01-17 08:29:00 +00:00
skrll
2c3b4d7619 Simplify. 2010-01-17 08:24:06 +00:00
skrll
d306de736d Restore backwards compatibility for binaries referencing the main
Obj_Entry.
2010-01-17 08:04:20 +00:00
dholland
dcf56c99e1 Remove some leftover bits of tn3270 that got left behind. 2010-01-17 04:15:41 +00:00
christos
a6b956aa6c - we don't need stdbool.h anymore.
- the previous fix for the negative index logic was wrong, fix it.
2010-01-16 21:26:59 +00:00
phx
9da6729818 Allow compilation without rtas device being configured. 2010-01-16 21:05:28 +00:00
pooka
fe3e79c05a * add option to use bpf to dump response
* randomize local address to avoid poor confused peers due to us
  "rebooting" quite rapidly when testing.
2010-01-16 20:47:01 +00:00
pooka
048228094a update type of bh_tstamp 2010-01-16 18:47:50 +00:00
dyoung
af2b13bf18 Delete some dead (#ifdef notyet) code. 2010-01-16 18:43:34 +00:00
pooka
c3ac0e0ea8 move bpfilter.h to a more central location 2010-01-16 18:02:19 +00:00
pooka
29ca934b44 support bpf 2010-01-16 17:55:50 +00:00
bouyer
8189b574e4 Fix leak of a usbd_xfer_handle when a interrupt pipe is aborted then
closed:
usbd_open_pipe_intr() allocates a usbd_xfer_handle for pipe->intrxfer.
Most usb device drivers using interrupt pipes call usbd_abort_pipe()
then usbd_close_pipe(), usbd_close_pipe() is supposed to free pipe->intrxfer.
But usbd_abort_pipe() calls [uoe]hci_device_intr_abort() which,
if the xfer aborted is pipe's intrxfer, sets pipe->intrxfer to NULL.
So usbd_close_pipe() can't free it and the usbd_xfer_handle is lost.

To fix this, in usbd_abort_pipe() remember the pipe->intrxfer's value
on entrie, and if it's different after usbd_ar_pipe(), call
usbd_free_xfer with the original value.
Confirmed to fix the memory leak on close() with umodem(4) and
uplcom(4).
2010-01-16 17:03:03 +00:00
roy
094674957f Typo 2010-01-16 16:12:01 +00:00
roy
d8bcc11c1b Remove tn3270 from sets 2010-01-16 16:10:39 +00:00
roy
8036c9fa11 Document tn3270 removal. 2010-01-16 15:46:32 +00:00
roy
8dafc5727f Remove tn3270 from base system.
If anyone really needs it then it can be put into pkgsrc.
Importing c3270 into pkgsrc is probably a better option though.
2010-01-16 15:34:22 +00:00
skrll
15b38a3879 Add a couple of comments and some whitespace. 2010-01-16 13:59:42 +00:00
skrll
5764441dd3 Tweak comment. From OpenBSD. 2010-01-16 13:53:58 +00:00
skrll
3e5644bee4 Simplify 2010-01-16 13:49:11 +00:00
skrll
8c8e2e46ed Tweak astpending handling. 2010-01-16 13:29:47 +00:00
skrll
2e0bcc8d3b Remove cargo cult dlinfo entry point. 2010-01-16 10:37:51 +00:00
skrll
a6de3e0058 Use the description in the ACD for T_DBREAK. 2010-01-16 10:06:31 +00:00
mbalmer
8f42635938 fix wording:
instead of the a file -> instead of a file
2010-01-16 08:50:29 +00:00
skrll
51f44bf5bd Check cpl level has returned to entry value when leaving trap/syscall.
From OpenBSD.
2010-01-16 07:56:16 +00:00
skrll
03108b61cc Add a comment. 2010-01-16 07:45:53 +00:00
skrll
98963a69d5 Count interrupts in uvmexp. 2010-01-16 07:38:56 +00:00
skrll
a11430cd21 Rename type_raw to trapnum and use in a couple more places.
Reduces diff to OpenBSD.
2010-01-16 07:37:21 +00:00
skrll
9343811ea9 Count traps in uvmexp. Reduces diff to OpenBSD. 2010-01-16 07:17:39 +00:00
nakayama
a4d5978210 UltraSPARC-IIIi CPUs select the BUSY/NACK pair in the interrupt
vector dispatch status register based on the lower two bits of the
ITID.

From OpenBSD and details are described in the section 10.4.3 of
UltraSPARC IIIi Processor User's Manual.
2010-01-15 23:57:07 +00:00
nakayama
46ffa7ba82 Add processor implementation codes, from OpenBSD. 2010-01-15 23:55:55 +00:00
dyoung
73fb1c1774 Use __arraycount(). 2010-01-15 23:49:22 +00:00
pooka
ec8068f5fb * remove just-for-kicks locking
* KNF
* remove outdated comment (quite a funny one to read in 2010, though)
2010-01-15 22:16:46 +00:00
bouyer
0264f2a19e Note sparc apc(4). 2010-01-15 20:59:00 +00:00
phx
eab1253bf7 Fixed crash, when /rtas was not found: OF_finddevice() returns -1 when
the device is not found.
2010-01-15 20:57:25 +00:00
bouyer
3c5e160011 Add apc(4), a driver for the Aurora Personality Chip (APC) found
on SPARCstation-4/5, and emulated by qemu to idle the simulator
when the CPU is idle. Infos about the registers from the linux driver.
Not enabled by default because it can cause some Sparc systems to
hang (so says the linux driver).
Only the CPU idle part implemented at this time; fan speed and
Convenience power outlet management to be added.
Tested on qemu.
2010-01-15 20:57:12 +00:00
pooka
c396ac1512 Accomplish messy stack with slightly less messy code. 2010-01-15 20:39:46 +00:00
mjacob
1f74793503 Amazingly, we've been freeing a handle and then using that which it referred
to for years. Bad.
2010-01-15 20:09:09 +00:00
bouyer
aa0e1a2ecf vclean() actually sets v_tag to VT_NON but doesn't touch v_type.
getcleanvnode() sets v_type to VNON after releasing v_interlock.
So the thread doing quotaon(), quotaoff() or qsync() could vget()
a vnode which is being recycled in getcleanvnode(), after is has
been cleaned and v_interlock released, but before v_type has been
reset, leading to KASSERT(vp->v_usecount == 1) firing in
getnewvnode(), or qsync() dereferending a NULL pointer as in
PR kern/42205.
Fix by using the same tests as other ffs function traversing the mount
list: also check for VTOI(vp) == NULL, and VI_XLOCK in addition
to VI_CLEAN.
2010-01-15 19:46:35 +00:00
joerg
642cfb40e9 Use .%U instead of .%O for URLs. 2010-01-15 19:39:10 +00:00
bouyer
85e9e8e2b4 Revert previous. The KASSERT() is right and my analysis is wrong,
as pointed out by pooka@.
2010-01-15 19:28:26 +00:00
joerg
aee81ebcb8 Use .%U instead of .%O for URLs. 2010-01-15 19:24:49 +00:00
joerg
ff4348e0b0 Use .%U. Give full URL for draft-ietf-ipsec-ecn-02. 2010-01-15 19:23:38 +00:00
joerg
228bb419cc Use .%U for URLs instead of .%O. 2010-01-15 19:19:32 +00:00
joerg
0e901e0c61 Use .%U instead of .%O for URLs. 2010-01-15 19:18:51 +00:00
pooka
e5bb7fe875 Use subr_percpu.c instead of homegrown implementation. ...except
when using malloc(3)-relegated allocators (happens in production
e.g. on Linux), since subr_percpu.c uses vmem and i don't want to
reimplement vmem.
2010-01-15 19:01:04 +00:00
pooka
435aa34303 print mbuf statistics a few times. incidentally, can be used to
test percpu.
2010-01-15 18:38:16 +00:00
nakayama
703280a3af Add function names defined by macro in comment for reference. 2010-01-15 15:05:02 +00:00
nakayama
b36a9587e3 Fix typo in previous. 2010-01-15 15:02:48 +00:00
asau
76d4b3bdab Regenerate. 2010-01-15 11:27:01 +00:00
asau
9f9e90f73c Test for <sys/endian.h> and provide HAVE_SYS_ENDIAN_H.
Fixes FreeBSD hosted builds (PR 42440 and PR 42470).

Approved by <dholland>.
2010-01-15 11:26:25 +00:00