ad
15e9cec117
For PR bin/37347:
...
- Override __libc_thr_init() instead of using our own constructor.
- Add pthread__getenv() and use instead of getenv(). This is used before
we are up and running and unfortunatley getenv() takes locks.
Other changes:
- Cache the spinlock vectors in pthread__st. Internal spinlock operations
now take 1 function call instead of 3 (i386).
- Use pthread__self() internally, not pthread_self().
- Use __attribute__ ((visibility("hidden"))) in some places.
- Kill PTHREAD_MAIN_DEBUG.
2007-11-13 15:57:10 +00:00
skrll
fd4abe684b
No need for reg.h here.
2007-11-13 15:53:17 +00:00
ad
71ac015ebf
stack_protector.c has moved.
2007-11-13 15:34:51 +00:00
ad
46f5cd4fb9
- Make it pass lint.
...
- Add RCSID.
2007-11-13 15:33:55 +00:00
ad
ec4d182d4a
- stack_protector.c doesn't really belong under sys/. Add a new directory
...
for misc support routines and put it there.
- Add a libc constructor. Use this to initialize threading and the
stack protector stuff. libpthread cannot be initialized safely using
its own constructor because libc and libpthread are deeply intertwined.
PR bin/37347
2007-11-13 15:21:19 +00:00
jmmv
ac0bd149f2
Fix typo that prevented MKDEBUG builds to work. Found by drochner@.
2007-11-13 13:57:53 +00:00
tsutsui
98bd33ec69
Use more proper aligned format in a debug function print_bmap().
2007-11-13 13:57:52 +00:00
tsutsui
bed6c72507
- add some more constant definitions
...
- add some comments
- typo and some cosmetics
2007-11-13 13:50:18 +00:00
pooka
005e676a62
Create /dev/putter and symlink /dev/puffs to it.
2007-11-13 13:14:25 +00:00
pooka
116e75936f
puffs -> putter
2007-11-13 13:13:10 +00:00
pooka
4e9d847cff
Don't specialcase minor device, treat all minors the same.
2007-11-13 13:11:51 +00:00
yamt
b290d1aea3
don't include <sys/namei.h> unnecessarily.
2007-11-13 11:39:41 +00:00
skrll
1587bff9f0
Explicitly include <uvm/uvm_object.h>
2007-11-13 11:38:35 +00:00
yamt
4170b65f86
nfs_lookup: fix indent.
2007-11-13 11:37:08 +00:00
skrll
1acb610fdd
Don't use structure copy in __cpu_simple_lock_init. Set the array elements
...
to __SIMPLELOCK_RAW_UNLOCKED instead.
2007-11-13 11:37:06 +00:00
he
4869f8a215
Need to point to sys/ for includes to pick up <sys/lwpctl.h> for
...
the lint stubs.
2007-11-13 10:22:15 +00:00
he
3b9b3c5341
We now need <sys/lwpctl.h> included in order to lint LintSysNormal.c.
2007-11-13 09:07:33 +00:00
yamt
7bc2fdc746
g/c unused uvm_anon_pool.
2007-11-13 08:48:28 +00:00
skrll
6e57c35ead
Remove an include that's not required.
2007-11-13 08:41:50 +00:00
yamt
a05590a3d6
lwp_ctl_alloc: fix a mutex_enter/exit mismatch.
2007-11-13 08:38:06 +00:00
cube
205642797e
Remove some whitespace.
2007-11-13 05:31:01 +00:00
ad
9202b10ca9
Cosmetic change.
2007-11-13 01:21:32 +00:00
ad
e0450a2090
Add _lwp_ctl() system call: provides a bidirectional, per-LWP communication
...
area between processes and the kernel.
2007-11-13 00:22:12 +00:00
agc
7f7c78c76b
Rename include/util.h to include/iscsiutil.h to avoid a nameclash
...
with /usr/include/util.h.
2007-11-12 23:25:40 +00:00
ad
d93f08b7ba
4.99.36: struct proc/lwp changed.
2007-11-12 23:13:30 +00:00
ad
2312f6a01a
Regen.
2007-11-12 23:12:57 +00:00
ad
b668a9a05f
Add _lwp_ctl() system call: provides a bidirectional, per-LWP communication
...
area between processes and the kernel.
2007-11-12 23:11:58 +00:00
dsl
300078900a
regen
2007-11-12 22:23:29 +00:00
dsl
9bb5de8a76
syscall() needs to be 'NOARGS INDIR'.
...
Actually I wonder if this code could use the standard syscall table ?
2007-11-12 22:23:01 +00:00
bouyer
fe62d31b91
Note ahcisata(4) ATAPI support.
2007-11-12 21:26:35 +00:00
bouyer
637a7b4433
Add ATAPI support to ahcisata(4). lightly tested with a DVD burner, by
...
mounting a CD and reading from it, and blanking a DVD-RW using cdrecord.
2007-11-12 21:25:14 +00:00
jmmv
416efab2e1
Fix release build that was broken due to the lack of a clean target.
...
Noted by ad@. I didn't see this myself because I always build with
UPDATE set, so no cleaning is done.
2007-11-12 20:13:21 +00:00
joerg
2053e6a730
Merge refactoring from jmcneill-pm.
2007-11-12 20:10:32 +00:00
joerg
ade410e9d5
Merge bunch of AGP changes from jmcneill-pm.
2007-11-12 20:00:14 +00:00
joerg
4f26bc754d
Merge pci_disable_retry function from jmcneill-pm as it is found in
...
various drivers.
2007-11-12 19:54:36 +00:00
joerg
09f732085f
From jmcneill-pm: don't probe for I2C device. It has limited usefulness
...
and hangs a number of machines.
2007-11-12 19:42:44 +00:00
joerg
0bed2981dc
Add Intel 82965PM bridge from jmcneill-pm.
2007-11-12 19:40:49 +00:00
joerg
ba3c8f07bd
Regen.
2007-11-12 19:32:53 +00:00
joerg
4373bb107c
Merge a PCI IDs of Intel 82G33 and 82965PM from jmcneill-pm.
2007-11-12 19:32:32 +00:00
plunky
2bafcfdd48
improve visibility of [dis]connected messages
2007-11-12 19:19:32 +00:00
plunky
176a9c6143
include <sys/device.h> for device_t
2007-11-12 19:08:29 +00:00
ad
6856a132b2
Merge cpu_need_resched() from vmlocking:
...
- Always do an aston(), even if not sending an IPI. May help with xine.
- Post asts on cpu_onproc, not ci_curlwp.
2007-11-12 19:02:26 +00:00
xtraeme
1b0de52cf2
Use sc_mutex (which runs at IPL_BIO) to protect the DIOC[GS]STRATEGY
...
ioctl ops, sorry didn't see it before.
2007-11-12 19:01:07 +00:00
ad
1207625f42
- cpu_vendor was both an int and char[] on amd64 - fix it.
...
- Run the errata check/patch on all CPUs, not just the boot processor.
2007-11-12 18:44:42 +00:00
ad
51a2159851
Don't unconditionally clear the direction flag. The ABI says it must always
...
be clear when making a function call, and 'cld' takes about 50 clock cyles
on the P4.
2007-11-12 18:41:59 +00:00
pooka
ca28ea4509
Bounds-check responses from userspace.
2007-11-12 17:42:13 +00:00
pooka
805571cfce
remove header that was never committed
2007-11-12 17:35:32 +00:00
ad
2ea87a5b7a
Back out revision 1.26.
2007-11-12 17:28:23 +00:00
pavel
cac90c847b
Mention the ipf mode in more places, xref pf.conf(5) or ipnat.conf(5)
...
when speaking about the configuration file commands. Bump date.
2007-11-12 17:14:28 +00:00
pavel
7fa608457b
Do not use ntohs() on TCP ports passed to the NAT lookup ioctl, apparently
...
they are expected in network order. Makes the proxy in ipf mode actually
work (but tested only on NetBSD 3.0).
2007-11-12 17:05:13 +00:00