Commit Graph

209159 Commits

Author SHA1 Message Date
rmind
4ed932b4c4 ip6_output: check for rtcache_setdst() error, which may happen if running
out of memory.
2012-02-05 00:41:15 +00:00
rmind
f7fec0d2a4 Multiple NPF fixes, add better error reporting from kernel side, add some
asserts, bump the version.
2012-02-05 00:37:13 +00:00
reinoud
ab30bde8c6 Bump UPAGES effectively bumping per-process (system) stack i.e. the stack on
which traps are taken. When it was 8 it could run out of space on big NFS
stack traces in combination with timer and memory paging.
2012-02-04 23:04:15 +00:00
reinoud
0362b699a3 Fix address of SIGILL instruction on amd64 as previously fixed on i386. It
used to return the effective address of the faulted memory access but on
SIGILL its obviously wrong since there is no MMU fault.

Instead return the instruction counter register.
OK by releng
2012-02-04 22:45:40 +00:00
he
e0e72b8a73 Bump the install image size so that this builds again. 2012-02-04 22:27:25 +00:00
matt
a674a0dfdb Make this compile again. 2012-02-04 22:20:38 +00:00
para
fa6083dc6c make acorn26 compile by fixing up subpage pool allocations
ok: riz@
2012-02-04 22:11:42 +00:00
christos
01e9003fd7 add <sys/rnd.h> to fix the build. 2012-02-04 19:08:03 +00:00
christos
dacfc3b6f3 bump SYMTAB_SPACE 2012-02-04 19:03:49 +00:00
christos
ae6f5d7012 Bump symtab space 2012-02-04 19:02:25 +00:00
christos
aa6616ee87 fix the build 2012-02-04 18:50:42 +00:00
christos
0b8fb5a58e argh, there was even more debugging! 2012-02-04 18:39:21 +00:00
christos
7eb6e48a1e No -g on the default install, if you want debugging you know where to put it. 2012-02-04 18:38:13 +00:00
joerg
520acca96b Mark perfused_panic as dead. Canonical form of infinite loops is
for (;;). Remove completely redundant NOTREACHED markers.
2012-02-04 18:36:30 +00:00
christos
66ecc48cbd no -g on default install
if you want debugging, you know where to put it.
2012-02-04 18:35:56 +00:00
christos
e7304d92f3 Remove -g -O0. It does not work on amd64 at all.
If you want debugging on, add it yourself.
2012-02-04 18:28:53 +00:00
pgoyette
460ef57533 Add missing period at end of sentence.
ok releng@
2012-02-04 18:25:53 +00:00
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