Commit Graph

206518 Commits

Author SHA1 Message Date
martin e3288b80f0 If we are not building SMALLPROG, there is no need to strip out INET6
support.
2011-11-01 09:26:37 +00:00
tcort fad5a928f9 Add new developer Thomas Cort (tcort) 2011-11-01 02:04:43 +00:00
uwe cac1691902 elfcore_grok_netbsd_note: sync SuperH PT_GETREGS value with reality.
Recognize PT_GETFPREGS that we don't yet actually have, but for which
the number is now reserved.
2011-11-01 00:31:38 +00:00
uwe b25f483145 Minor cosmetics to minimize diffs with vendor branch. 2011-10-31 23:30:27 +00:00
uwe 4ae94fd668 Since sh3 has got PT_STEP, nuke software single-stepping entirely. 2011-10-31 23:23:52 +00:00
uwe 4d93ce832f shnbsd_software_single_step: fix logic botch. Now that removal of
software single step breakpoints is handled by the caller we no longer
need to keep static next_pc around.
2011-10-31 23:10:16 +00:00
christos f3d1a5e782 PR/45545 Yui NARUSE: pipe2's return value is wrong 2011-10-31 21:31:29 +00:00
christos 9c67f9d994 make this work 2011-10-31 21:30:16 +00:00
uwe 264117e445 struct reg has GBR since NetBSD 5, so bump up SHNBSD_SIZEOF_GREGS.
It would be nice to detect this dynamically, but gdb7 wouldn't work on
NetBSD 4 anyway.
2011-10-31 21:00:39 +00:00
christos cb72177097 regen 2011-10-31 20:52:14 +00:00
uwe 10230b2353 get_netbsd_elfcore_note_type: sync SuperH PT_GETREGS value with
reality.  Recognize old PT___GETREGS40 (for struct __reg40 without
GBR).  Recognize PT_GETFPREGS that we don't yet actually have, but for
which the number is now reserved.
2011-10-31 19:12:48 +00:00
uwe ebd5e6fb4e #if-0'ed defines for PT_GETFPREGS and PT_SETFPREGS. Not used yet, but
reserve the numbers as they are "leaked" to readelf(1), that has to know
them as NT_NETBSDCORE_FIRSTMACH + x (see get_netbsd_elfcore_note_type).
2011-10-31 19:08:45 +00:00
christos f7e24ebe94 We need to allocate an inferior with our fake pid so that kernel core dumps
work.
2011-10-31 18:41:17 +00:00
christos d5be487c28 enable kernel stack frames now that I have tested them. 2011-10-31 18:40:40 +00:00
pgoyette 7726fd7693 No need to keep on trying when this fails in the expected manner. We
really don't need to have 32k failures.


OK jruoho@
2011-10-31 18:37:01 +00:00
christos eba0b3c2fd Move all pipe2 tests to a separate file. 2011-10-31 15:41:31 +00:00
christos 7b65040d43 add pipe2 tests 2011-10-31 15:37:17 +00:00
jakllsch b052e03160 Constify structure pointed to by getataparams() return value. 2011-10-31 15:26:11 +00:00
jakllsch bfe1863ea2 Remove write-only variable. 2011-10-31 14:50:10 +00:00
jakllsch 58fe39198a Wrap or shorten lines longer than 80 columns. 2011-10-31 14:44:07 +00:00
chs 8c0bc12273 switch everything except vax to gcc 4.5.
switch m68k to -Os since -O2 produces much bigger code
with gcc 4.5 than it did with gcc 4.1.
2011-10-31 14:20:11 +00:00
yamt 29af9462d1 annotate for lint 2011-10-31 13:27:51 +00:00
yamt 1cc677b523 fix a type in a printf message 2011-10-31 13:25:21 +00:00
yamt 8b0a34508b replace a non us-ascii character in a comment 2011-10-31 13:23:55 +00:00
yamt 432b5ec94f comment 2011-10-31 13:17:22 +00:00
yamt d8e3880a8a redo ip_output.c rev.1.206 and 1.207 differently. PR/43664.
ok'ed by martin@
2011-10-31 13:16:01 +00:00
yamt 4fa9fc4940 fix a double unlock bug introduced by tcp_input.c rev.1.312. 2011-10-31 13:01:42 +00:00
yamt ee68698439 tcp_drain: grab softnet_lock where appropriate 2011-10-31 12:56:45 +00:00
yamt bf52753ac3 tcp_reass_unlock: assertion 2011-10-31 12:52:19 +00:00
yamt 02a75580d4 remove an unnecessary cast 2011-10-31 12:50:50 +00:00
yamt 5594ed8178 typo in a comment 2011-10-31 12:49:32 +00:00
yamt f2b7f3dffc hpet:
- fix an integer overflow bug introduced by hpet.c rev.1.11.
- a workaround for AMD SB700 based systems, inspired from linux.
2011-10-31 12:47:15 +00:00
yamt 00b376e154 dumpsys_seg: don't overwrite the previous mapping 2011-10-31 12:42:36 +00:00
yamt f68df90171 - make lendpri/changepri similar.
- make common code a subroutine.
2011-10-31 12:18:32 +00:00
jdc d436f96ffc Add support for the WSDISPLAYIO_GET_EDID ioctl (requires passing a device_t
to ffb_attach).
2011-10-31 08:28:46 +00:00
mrg c23dc553e9 obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_CPU}  == "arm"	|| \
    ${MACHINE_CPU}  == "m68k"	|| \
    ${MACHINE_CPU}  == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_ARCH} == "hppa"	|| \
    ${MACHINE_CPU}  == "mips"	|| \
    ${MACHINE_CPU}  == "sh3"	|| \
    ${MACHINE_ARCH} == "vax"

let's go, people!  (-:
2011-10-31 08:14:43 +00:00
christos 82be2a4e22 PR/45517: Henning Petersen: Add restrict keywords in the definition of glob
to match the declaration.
2011-10-30 21:53:43 +00:00
wiz 60025aa86f Use boolean AND instead of bitwise one in _DIAGASSERT.
From Henning Petersen in PR 45518.
2011-10-30 21:48:27 +00:00
mrg e65408a5af regenerate without sim support for now. (the rest isn't setup.)
mips64el can't debug n32 at all and n64 can't "run" any app.
2011-10-30 21:33:40 +00:00
phx 767f3b0324 Added in8() and out8() to access a byte with reorder-protection.
Use it in all drivers instead of (volatile uint8_t *).
2011-10-30 21:08:33 +00:00
phx d250ff0e1c Make sure to disable interrupts, as U-Boot may call us with interrupts
enabled, causing quite unpleasant effects (e.g. by decrementer interrupts).

When DEBUG is defined, an exception handler will be installed, which reports
about all exceptions while altboot is running, including register dump and
stack frame backtrace.
2011-10-30 20:42:09 +00:00
christos 1309a94f0a remove some lint 2011-10-30 18:40:06 +00:00
christos 4448e43f58 PR/45542: Henning Petersen: Misplaced parenthesis in rshd.c 2011-10-30 16:54:58 +00:00
wiz d83b173856 Improve wording. Remove trailing whitespace. 2011-10-30 14:31:05 +00:00
hannken 405b01b248 Add a comment that pn_sizemtx should be useless as VOP_GETATTR now
needs a shared lock at least.
2011-10-30 13:24:13 +00:00
hannken 8ade49ad05 Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current.  This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64.  Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.
2011-10-30 12:12:21 +00:00
hannken 9f4935d778 VOP_GETATTR() needs a shared lock at least. 2011-10-30 12:00:27 +00:00
rkujawa 2e23399ee2 regen kernel configs 2011-10-30 11:19:56 +00:00
rkujawa 4e1e3afac4 Enable efa in GENERIC. 2011-10-30 11:16:05 +00:00
rkujawa 9d89628a47 Improve probe procedure in efa(4). Update man apge to reflect this. 2011-10-30 11:10:42 +00:00