Commit Graph

167792 Commits

Author SHA1 Message Date
rafal
6e46f6378f Grrr, don't grow the stack *up*, grown it *down* as everything else expects.
Fixes a frequent memory stomp of the bootinfo page (the kernel entry address,
no less) that occurrs when you turn the serial-debug code in the ARM 2nd-
stage bootloader.
2008-03-08 01:50:06 +00:00
joerg
aa88e6d9cd Use the correct file descriptor variable. 2008-03-07 23:28:17 +00:00
dyoung
9a0e417e90 Use device_t and accessors. Setup power management in the PCI
front-end (XXX needs to look more alike the Cardbus front-end).
Establish the shutdown hook using PMF.
2008-03-07 22:32:52 +00:00
ad
55faac1242 pthread_key_create: instead of using a simple 1/0 value to record a key
as allocated, use an array of pointers and save __builtin_return_address(0)
so keys can be identified when doing post-mortem debugging.
2008-03-07 22:27:07 +00:00
ad
8548e33886 pthread__mutex_lock_slow:
- don't stop spinning if there are already waiters on the mutex, there is
  no point.
- cosmetic change.
2008-03-07 22:23:57 +00:00
dyoung
365ad33516 In ath_pci_detach(), only disestablish the interrupt handler if it
is established.
2008-03-07 22:17:03 +00:00
dyoung
dd9279e27b Use device_t and accessors. 2008-03-07 22:05:47 +00:00
dyoung
5d30fe1a78 Use device_t and accessors. Use PMF instead of legacy power
management.  Establish the shutdown hook using PMF.
2008-03-07 22:04:00 +00:00
dyoung
81f7f6b3f2 Use device_t and its accessors. In uhci_{pci,cardbus}_attach, use
`self' instead of casting the softc to void *.
2008-03-07 21:57:56 +00:00
dyoung
347c1a2644 Use device_t and accessors.
In ohci_{pci,cardbus}_attach, do not get the device_t by casting
the softc to void *, but use `self' instead.
2008-03-07 21:48:46 +00:00
cube
3c5e53b4e2 Split device_t/softc for i386's apm(4), and other related cosmetic changes. 2008-03-07 21:45:07 +00:00
tnn
4f831ae35a tmpfs works on sgimips, so enable it. 2008-03-07 21:42:19 +00:00
dyoung
2e3b67d337 Register the shutdown hook using pmf_device_register1(). 2008-03-07 21:36:51 +00:00
joerg
c3302ae742 Regen to get HAVE_FSTAT. 2008-03-07 20:10:55 +00:00
christos
53175f5071 ansi and lint fixes from Anon Ymous 2008-03-07 19:22:22 +00:00
tnn
f0a736e7f1 Add ttyE[0-3] entries for wscons. 2008-03-07 19:01:44 +00:00
mrg
37b5177b06 fix a problem in %xy decoding. 2008-03-07 18:20:20 +00:00
ad
32b8f98e7d lwp_ctl_exit: fix a use-after-free that caused the following:
_lwp_ctl()	<- works
execve()	<- tears down lwpctl state
_lwp_ctl()	<- fails erroneously
2008-03-07 18:06:04 +00:00
ad
1046045268 Keep one builtin slot so that pthread initialization doesn't need to use
malloc().
2008-03-07 17:56:39 +00:00
cube
8ecf8999bf Split the softc from the device_t for all lpt(4) variants and attachments
except the ppbus stuff (which doesn't compile) and ulpt(4) which is
unrelated and can be dealt with separately.

As usual, it comes with related cosmetic changes.
2008-03-07 17:15:51 +00:00
phx
d40e0abd20 Define PCI_MAGIC_IO_RANGE for X11 server. The address chosen may change.
Approved by garbled.
2008-03-07 17:13:49 +00:00
phx
09190f8549 mem*.S no longer include assym.h 2008-03-07 17:10:00 +00:00
christos
2853595ad1 Allow KA53 to link, from Hans Rosenfeld. clk_page is used only if VAX46, VAX48
or VAX49 are defined.
2008-03-07 16:02:43 +00:00
christos
80acf2debe Fix KA53 console. From Hans Rosenfeld. 2008-03-07 15:58:33 +00:00
tls
804778b0a3 Fix build issue on modern OS/X (particularly 10.5 on powerpc) 2008-03-07 14:57:09 +00:00
lukem
c293dd6128 Use "unsigned foo" instead of "u_foo".
Be consistent with tabs.
2008-03-07 10:38:31 +00:00
dyoung
5f9eecf7e3 In com_detach(), don't destroy the lock twice. 2008-03-07 10:08:53 +00:00
martin
813190b43d Swap sysctl -d description of vm.filemin and vm.execmin. Noted by
Raymond Meyer on current-users.
2008-03-07 08:44:51 +00:00
dyoung
8e8ca68019 Use device_t and its accessors. 2008-03-07 08:39:18 +00:00
dyoung
8705e09ae4 PMF: synchronize device suspension and resumption. 2008-03-07 07:03:06 +00:00
dyoung
954c0a60d9 Stop the kernel from panicking when it detaches sysbeep0: do not
try to free the device driver-private storage if dv_private is
NULL.
2008-03-07 06:29:20 +00:00
ad
b0f548e27b oops 2008-03-07 02:18:34 +00:00
ad
bb9b5eb92c In libc, use the MI atomic_cas(). The assembly version is faster, but I
think there are PIC issues with it and I don't have a way to fix and test.
2008-03-07 01:18:54 +00:00
tnn
f85d89c5de v_interlock is a kmutex_t now, simple_lock() -> mutex_enter(). 2008-03-07 00:03:39 +00:00
dsl
f8907c6f49 Add a large warning about the possible side effect of using '-f'. 2008-03-06 21:27:41 +00:00
phx
e6d6e05cb1 Including assym.h is not needed and will break the build, because it does not
exist that early. Deleted it.
Approved by garbled.
2008-03-06 21:17:17 +00:00
dsl
f2ccbd036f Don't treat -f and an invalid flag.
Report the hex value of unknown unsupported (for the specified arch) flags.
2008-03-06 21:05:27 +00:00
plunky
d0e804ff6e a "Create Connection" command can sometimes fail to start for whatever
reason and the command_status event returns failure but we get no
indication of which connection failed (for instance in the case where
we tried to open too many connections all at once)

So, keep a flag on the link to indicate pending status until the
command_status event is returned to help us decide which should
be failed.
2008-03-06 20:56:26 +00:00
christos
0bdd655872 Treat "Thursday" as "*Thursday" from anon ymous 2008-03-06 17:37:57 +00:00
vanhu
b5ae261d16 Generates a log if cert validation has been disabled by configuration 2008-03-06 17:00:03 +00:00
jmmv
e708476055 Fix typo in t_modload entry. 2008-03-06 15:57:00 +00:00
njoly
e2a3dc2ff1 Do not use SYS_NSYSENT but the corresponding emulation definitions
instead {LINUX,LINUX32}_SYS_NSYSENT.

While here, cleanup some includes.
2008-03-06 15:16:47 +00:00
nakayama
e52ed14a31 tickintr() event counter is not specific to MULTIPROCESSOR. 2008-03-06 09:33:03 +00:00
martin
2bad903b03 Fix bit pattern error in example.
Reported by Edward Tomasz Napierala in PR port-sun3/38181.
2008-03-06 09:30:45 +00:00
manu
b6b6316484 From Cyrus Rahman <crahman@gmail.com>
privilegied instance exit when unprivilegied one terminates. Save PID in real root, not in chroot
2008-03-06 04:29:20 +00:00
mgrooms
1e1f81eb1d Add the ability to initiate IPsec SA negotiations using the admin socket.
Submitted by Timo Teras.
2008-03-06 00:46:04 +00:00
mgrooms
3fd729ad89 Refactor admin socket event protocol to be less error prone. Backwards compatibility is provided. Submitted by Timo Teras. 2008-03-06 00:34:11 +00:00
mgrooms
089a95fdcd Refactor admin socket event protocol to be less error prone. Backwards
compatibility is provided. Submitted by Timmo Teras.
2008-03-06 00:34:10 +00:00
cube
49f644ac35 Cosmetics: use device_t and cfdata_t. 2008-03-05 22:47:53 +00:00
cube
0c4bbfd7c5 Fix a softc split fallout. 2008-03-05 22:46:43 +00:00