Commit Graph

209192 Commits

Author SHA1 Message Date
joerg
307c7101da Add AuxInfo record with the base address of the main thread. 2012-02-04 18:12:02 +00:00
para
5f319369a0 improve sizing of kmem_arena now that more allocations are made from it
don't enforce limits if not required

ok: riz@
2012-02-04 17:56:16 +00:00
skrll
6c28a43a78 Regen from previous.
OK riz@
2012-02-04 17:05:38 +00:00
skrll
d72340ff8e -Wold-style-definition
Same code before and after.  OK riz@
2012-02-04 17:03:08 +00:00
skrll
6766c985c7 G/C unused [fp]dcache_small.
OK riz@
2012-02-04 16:33:27 +00:00
skrll
740b1613cb G/C some unused code. 2012-02-04 16:31:19 +00:00
christos
b8867d0ef6 There is no point in creating an entry point for emalloc(), when all the other
functions are just defined in terms of ereallocz(). Fixes the sun2 build
because it avoids the conflict with emalloc() from libutil.
2012-02-04 16:31:02 +00:00
skrll
a8b152431d Enable sti at uturn.
Move/tidy up the STI graphics section while I'm here.

OK riz@
2012-02-04 16:29:14 +00:00
he
dedd1c6538 Re-define emalloc(arg) to ntp_emalloc(arg), so that this can be linked
statically on NetBSD as well, since emalloc() conflicts with the entry
on our -lutil.
2012-02-04 14:56:58 +00:00
he
61f445c845 Fix spello for the INSTALL_P2020* kernel configs. 2012-02-04 10:32:11 +00:00
njoly
54f5b36db5 Now that rnd is not optional anymore, add needed rnd_init() for rump.
Fix dev/{scsipi,sysmon} testcases.
2012-02-04 10:02:25 +00:00
riz
6c09d8d673 Add a 'void' to unbreak this with -Wold-style-definition 2012-02-04 02:00:07 +00:00
christos
ff4d8f4f03 ansi prototypes 2012-02-03 23:39:59 +00:00
christos
1c2efa29c7 -Wold-style-definitions for i386 and amd64 2012-02-03 23:39:26 +00:00
christos
e2d86e914d Kill of messy ifdefs, and use an ansi prototype. 2012-02-03 23:38:07 +00:00
christos
c8310bbf72 add tpm 2012-02-03 23:37:20 +00:00
joerg
a9315a99ce Fix support for negative keywords: the keyword is prefixed directly with
! without space, so that the splitting works as expected. Adjust entries
for bsdgrep.
2012-02-03 22:18:04 +00:00
sjg
367aa166aa Fix description of 'silent' in .MAKE.MODE
Also document 'env' in that context.
2012-02-03 21:39:25 +00:00
christos
5744870aac cleanup compilation (not TRT, but the expedient way) 2012-02-03 21:36:40 +00:00
christos
26053bd797 don't bother with ifdef's, just grab the biggest type you can. 2012-02-03 21:35:55 +00:00
joerg
eab3272778 ld.elf_so is reentrant. 2012-02-03 21:11:17 +00:00
matt
3a34fc0463 Welcome to 5.99.64 (struct exec_package changed). 2012-02-03 20:12:48 +00:00
matt
2210079e9b Add a hook for freeing an ep_emul_arg. Add a wrapper routine
(exec_free_emul_arg) to call the hook and then clear the ep_emul_arg
and ep_emul_arg_free members in the exec_package.
Change users/accessors to use these routines.
Approved by releng.
2012-02-03 20:11:53 +00:00
matt
63468783ba Use CPP __VA_ARGS__ for DPRINTF* 2012-02-03 19:29:59 +00:00
matt
a6a91141ef Always allocate the kmem region. Add UVMHIST support. Approved by releng. 2012-02-03 19:25:07 +00:00
christos
6a250e03e2 cleanup last warnings, and remove local warnings overrides. 2012-02-03 16:33:10 +00:00
manu
9724ab82d4 Make sure perfused exit when the filesystem crashed, so that unmount
is done. Failure to do so caused deadlocks, with operation that
held a lock on the root vnode and got stuck in perfused forever.

Approved by releng.
2012-02-03 15:54:15 +00:00
christos
defb4acb60 shutup debug. 2012-02-03 15:42:46 +00:00
christos
0c82c01637 using 2 casts to fix an unsigned-signed comparison is a sign that this it
is done incorrectly. The RHS is guaranteed positive at this point so cast
it to unsigned to match the LHS.
2012-02-03 14:36:51 +00:00
kardel
2bc1b7bd9a Clang compile fix from Joerg Sonneberger approved by releng. 2012-02-03 10:20:29 +00:00
martin
37705281c9 Add missing <sys/rnd.h> include, ack: jdc@ 2012-02-03 10:11:07 +00:00
yamt
e119700586 use a correct macro.
releng@ ok
2012-02-03 05:06:51 +00:00
yamt
bfb50d59ee make the result stable.
releng@ ok
2012-02-03 05:06:08 +00:00
joerg
45883dbd84 Only use MALLOC_DECLARE if it exists. Helps with the dirty _KERNEL
tricks fstat is using.
2012-02-03 04:29:17 +00:00
joerg
782395a37e Really skip the current line only if the comment is at the start. 2012-02-03 04:28:55 +00:00
christos
1adc476134 don't try to write in a const buffer. 2012-02-03 04:03:11 +00:00
christos
e135d08485 elf_args needs to be freed with kmem_free() since it is now allocated with
kmem_alloc(). Should fix running 32 bit elf binaries.
2012-02-03 03:54:35 +00:00
christos
86cd0e8b2d PR/45764, PR/45914
Part 2:
Arrange so that the pointers that we free (ifp->if_afdata, dom->dom_ifqueues[i])
are set to NULL.
While I am here, add a continue.
2012-02-03 03:35:30 +00:00
christos
6a74395ce6 PR/45764, PR/45914
Part 1:
nd6_purge can be called after dom_ifdetach, and if_afdata[AF_INET6] is
going to be freed and point to garbage. Make sure we check for NULL, before
taking the pointer offset.
While I am here, add an M_ZERO.
2012-02-03 03:32:45 +00:00
tls
208455fc84 Fix missed inclusion from my previous commit. 2012-02-03 01:20:45 +00:00
nisimura
9aa0874ef1 Add Mini2440 entry to sysinst kernel selection. 2012-02-03 00:35:35 +00:00
nisimura
7426b8ed25 Make sure to allow MEMORY_DISK as rootfs. 2012-02-03 00:33:08 +00:00
roy
8051771ee5 Import dhcpcd-5.5.3 2012-02-03 00:05:57 +00:00
roy
75c7a95f02 Import dhcpcd-5.5.3 to fix a compile failure. 2012-02-03 00:04:06 +00:00
roy
54e74c5d9b Import dhcpcd-5.5.2 with the following changes:
* Stop checking IFF_RUNNING in RTM_IFINFO in an unknown link state
* RA expiry now tiggers off the first option if newer than the prefix
* Prefer a DHCP lease over an IPv4LL one
2012-02-02 23:35:40 +00:00
nonaka
6cabf8a9dc Use "opt_sdmmc.h" for SDHC_DEBUG. 2012-02-02 22:49:17 +00:00
phx
678263a5d4 Translate some new messages into german. 2012-02-02 22:15:04 +00:00
phx
bd07308fb4 Use sync(8) instead of echo(1) to avoid writing an RDB disklabel.
echo(1) is not part of the miniroot file system.
2012-02-02 21:58:31 +00:00
phx
3290da69bf Fixed writing of MBR disklabel. It was written by disklabel(8) -r directly
into sector 0, corrupting the MBR. Moved to sector 1.
Removed MBR_LABELSECTOR, which is no longer needed.
2012-02-02 21:54:34 +00:00
para
1cf29b36a2 call uvm_km_kmem_alloc with right arguments
fixes: kern/45913
2012-02-02 20:11:26 +00:00