Commit Graph

209192 Commits

Author SHA1 Message Date
joerg
7bf72726f9 Pull read.c r1.27 from upstream repository:
Don't silently skip non-ASCII characters, but replace them with ``?''.
This is less likely to break the syntax of macros.
2012-02-06 10:42:44 +00:00
martin
f314ddcf46 Provide a module_map (16 MB for now) to load modules close to kernel text
and data.

Fixes PR port-sparc64/45895. Ok: releng
2012-02-06 10:40:26 +00:00
christos
388e208a62 PR/45932: Add missing braces... This will probably fix interrupts too! 2012-02-06 04:29:47 +00:00
matt
eacc5f97c9 Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c
2012-02-06 02:14:10 +00:00
christos
cea8dc6b79 PR/45932: Pierre Pronchery: Fix the return values of the suspend and resume
functions.
2012-02-06 02:03:32 +00:00
rmind
4d11ce4d7b Fix the family option in the grammar and example. 2012-02-06 00:41:36 +00:00
rmind
d47695fbde - Handle NPF rule procedures in the parser and thus re-enable them.
- Few small updates to the man page.
2012-02-06 00:37:52 +00:00
skrll
71f73f2dac Delay some things to attach time - pdc_init is too early.
Minor tidyup while I'm here.

OK riz@
2012-02-05 21:46:37 +00:00
matt
e51dac4baa Bump SYMTAB_SPACE 2012-02-05 19:30:42 +00:00
christos
8364b8d242 -D flags belong in CPPFLAGS 2012-02-05 18:46:04 +00:00
matt
a99c34e987 Use __INFINITY in preference to __builtin_inff(). Currently only VAX defines
__INFINITY and allows to use __builtin_huge_valf() instead since gcc4.5 will
error out unconditionally if __builtin_inf() is used.
2012-02-05 17:57:17 +00:00
matt
59a1b57ad8 Make this compilable by VAX GCC 4.5 2012-02-05 17:55:12 +00:00
matt
fcaa0c3257 Change eps to fit within the VAX FP range. 2012-02-05 17:52:55 +00:00
matt
5a1411907d For VAX & GCC, turn on -Wno-overflow to supress a GCC error. 2012-02-05 17:47:30 +00:00
matt
aa4a29af75 Define __INFINITY as huge_val since VAX FP doesn't have infinities. 2012-02-05 17:45:38 +00:00
matt
2c2478331f Gcc emit overflows warnings on VAX when you try to use HUGE_VAL. Make these
warning supressable if -Wno-overflow is given.
2012-02-05 17:43:47 +00:00
matt
c1538b0e12 Deal with vax defining [an empty] struct fpreg;
Add supply_gregset and fill_gregset for nbsd-thread.c to vaxbsd-nat.c
2012-02-05 17:40:48 +00:00
reinoud
cdd53821b4 regen 2012-02-05 17:40:08 +00:00
reinoud
b2bd15f503 With the recent kmem changes, remove the `unlimited' maximum setting of
NKMEMPAGES from amd64 since it gets us into trouble.
2012-02-05 17:39:18 +00:00
matt
512e444044 Use REG_P, CONST_INT_P, and gcc_unreachable().
Bring forward movememsi from gcc4.1
2012-02-05 17:38:21 +00:00
matt
a7e9fdf4f5 Constraint 'T' needs to be a CONSTANT_P so add a match_test for that. 2012-02-05 17:37:19 +00:00
matt
703f2e538a Use REG_P, CONST_INT_P, and gcc_unreachable. 2012-02-05 17:34:34 +00:00
rmind
d8f0298d84 - sys_swapctl: validate the number of swap devices argument for SWAP_STATS.
- uvm_swap_stats: fix a buffer overrun, add some asserts.

Reviewed by mrg@
2012-02-05 16:08:28 +00:00
reinoud
b0130c6aff regen 2012-02-05 14:27:08 +00:00
dholland
7609b9bc56 Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.
2012-02-05 14:19:02 +00:00
dholland
430a952206 Remove unneeded #include. 2012-02-05 14:14:44 +00:00
skrll
80a78e2456 Fix build of gdb7 for mips. It's not used at present. 2012-02-05 13:26:01 +00:00
rmind
0de951a66f uvm_kmguard_alloc: use vmem_addr_t, instead of vaddr_t.
Fixes the build on ports where vaddr_t is of different size.
2012-02-05 11:08:06 +00:00
skrll
9b9495d4e1 Use __arraycount on hppa_knownmods rather than end-of-table record.
OK riz@
2012-02-05 08:31:53 +00:00
skrll
afaeb265d7 -Wextra -Wno-unused-parameter 2012-02-05 08:27:37 +00:00
skrll
cc4d2c67d0 Use __arrarycount(cpu_types) to bound the table search and not NULL
check. The NULL check was wrong.
2012-02-05 08:24:43 +00:00
skrll
c0ea8a5bc3 -Wextra -Wno-unused-parameter 2012-02-05 08:23:11 +00:00
rmind
02bf188b03 - Make KMGUARD interrupt-safe.
- kmem_intr_{alloc,free}: remove workaround.

Changes affect KMGUARD-enabled debug kernels only.
2012-02-05 03:40:07 +00:00
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