Commit Graph

198540 Commits

Author SHA1 Message Date
jmcneill 50f3ce9fa2 revert previous; instead of commenting out the error message how about fixing
the code that causes it to be printed in the first place
2011-02-27 18:01:28 +00:00
ahoka f338bae6fa Add manpage for flashctl 2011-02-27 17:51:45 +00:00
joerg f3483179a4 If transforming patterns with \<...\> to implicit word bounaries, don't
change the global wflag, but use a per pattern flag derived from it.
Fixes usage of grep with multiple -w arguments.
2011-02-27 17:33:37 +00:00
jruoho cf0085d7f5 Remove the following aprint_debug(9): "pci_mem_find: void region". I have
a system where this is printed about a hundred times. No functional change.
2011-02-27 17:31:08 +00:00
jruoho adec1f4f3c Claim to support the dependency coordination during the _PDC/_OSC query.
(Although we do not actually support it.) Only after these bits are set,
many Intel-based BIOSes are willing to relinquish the necessary information.
2011-02-27 17:27:28 +00:00
jruoho 494badeb16 Move acpicpu(4) from "acpinodebus" to "cpufeaturebus". 2011-02-27 17:10:33 +00:00
njoly 3b61a87b12 Add a small testcase that shrink a file using 2 consecutive ftruncate
calls.
2011-02-27 15:16:31 +00:00
wiz 5455c66573 Lots of small fixes, so mdoclint is happy. 2011-02-27 14:01:42 +00:00
pooka 9bd36d4186 tmpfs has two layers of uvm objects (vnode->uobj and the anon object
in tmpfs_node), so when playing with pages make sure we lock the
uvm object the pages belong to instead of the vnode's uvm object.

per test from Nicolas Joly (which I'm sure he will commit soon ;)
2011-02-27 13:37:39 +00:00
plunky 23092b13ed since the mDNSResponder daemon is installed as mdnsd, there is some
confusion in the manpage. Not to mention the examples including
commands that don't exist on NetBSD (killall, sudo), so do a bit of
cleanup (and don't copy from dist, just keep it here)

mDNSResponder -> mdnsd
mdnsd -> mDNSResponder
mDNS -> dns-sd
killall -> pkill
% sudo -> #
syslog(8) -> syslogd(8)
example for syslog -> /dev/null
Xr for pkill, syslogd, dns-sd
2011-02-27 13:05:38 +00:00
plunky a9e881356e the original mDNSResponder.8 manpage, for reference 2011-02-27 13:01:05 +00:00
pooka ee6e286c6f Take reasonable precautions against init in a parent process
which did a rump-transparent host-only fork().
2011-02-27 12:58:29 +00:00
gdt c93631d028 Don't copy ntpq.1 to ntpq.8 before overwriting it.
"foo > bar" fails when bar is mode 444, and files copied from the
source tree should be expected to perhaps be read only.  However, the
copy should have been removed when the sed was added.  And, it never
should have been "@"; suppressing it made debugging this harder than
it should have been.
2011-02-27 12:42:44 +00:00
plunky f4ffd55a5b setting USE_FORT=yes means that memmove() becomes a macro, and the
#ifdef inside the macro arguments is undefined behaviour (pcc reports
a syntax error)

This was fixed upstream so change this to be the same as the 4.2.6p3
stable release of ntp (can't find an actual changelog entry that
describes this, so have included the memcpy change also - memmove
is not required here)
2011-02-27 12:10:18 +00:00
pooka ee9b785d83 make error messages sensible. from uwe 2011-02-27 11:32:12 +00:00
mbalmer 336c1525dd Don't use 'bool' as variable name. No binary changes.
From Henning Petersen, thanks!
2011-02-27 10:11:27 +00:00
rjs 355c56ede4 Missing semicolon. 2011-02-27 09:01:56 +00:00
wiz 839b4739f5 Add comma in enumeration. 2011-02-27 06:25:07 +00:00
wiz d55f0816c1 Sort macros, add comma in enumeration. 2011-02-27 06:24:27 +00:00
wiz b8f8abf38a Typographical improvement by David H. Gutteridge in PR 44645. 2011-02-27 06:02:07 +00:00
christos ebc56329ec Add <stdint.h> for uint8_t from Jess Thrysoee 2011-02-27 01:53:22 +00:00
christos c0ee155271 Fix argument for EL_EDITOR from Jess Thrysoee 2011-02-27 01:51:37 +00:00
jmcneill f99cc07e58 use pa_intrpin instead of pa_intrline for irq#, since drivers treat irq=0
as "no irq" and this matches pa_intrpin encoding
2011-02-27 01:02:39 +00:00
njoly 51cca89d16 Switch from floating point to fixed point integer for run sizes maths.
From FreeBSD (part of revision 1.154).
2011-02-26 23:27:49 +00:00
njoly 78733349d6 +flashctl.debug 2011-02-26 23:24:09 +00:00
matt ed7e15e7c6 Can't pass a void. 2011-02-26 22:33:45 +00:00
phx e068b990b6 altboot.img: altboot as U-Boot image to fake a Linux kernel module 2011-02-26 20:38:49 +00:00
phx efac3e47ba Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.
2011-02-26 20:11:24 +00:00
phx 6a5a0ed53a Add the -O option to set the OS type, which defaults to NetBSD when missing.
This is needed, because some vendors have stripped U-Boot so much that it
only accepts Linux kernel modules.
Also allow 'standalone' as module type.
2011-02-26 20:03:09 +00:00
plunky e9bb66e7cf clean up man files copied during build
also.. while we are putting the pages into different sections,
lets change the manpage contents to reflect that
2011-02-26 19:17:37 +00:00
jakllsch a6c55fbbe4 Enable LIBSA_PRINTF_LONGLONG_SUPPORT.
Useful in any of the cases where we already print a (64-bit) daddr_t.
2011-02-26 18:22:58 +00:00
jakllsch bdf5f7401d Add quad srcs if building x86_64 32-bit libkern. 2011-02-26 18:17:55 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
matt 2bf60042d7 When loading r13 and r2 with _SDA_BASE_ and _SDA2_BASE, do so in a PIC
manner.  With this change, simple programs can now run with MKPIE=yes
2011-02-26 17:11:23 +00:00
matt 7fe5f9cb4c Add quad srcs if using MIPS O32 ABI 2011-02-26 16:28:10 +00:00
matt 953a720806 Make sure that sgimips64 can build the O32 bootloaders 2011-02-26 16:26:58 +00:00
tsutsui 3d7fbda8d9 Use mips_fpexcept() instead of fpemul_trapsignal() to deliver SIGFPE,
and remove now unused fpemul_trapsignal() introduced for PR port-mips/26410.

Fixes PR port-mips/35326 and now t_except unmasked tests in
/usr/tests/lib/libc/ieeefp pass.

Note t_subnormal double test still fails as mentioned in PR port-mips/44639.
2011-02-26 15:41:32 +00:00
tsutsui ad8a961da7 Use proper CALLFRAME_FRAME and CALLFRAME_CAUSE macro.
XXX: is it safe to use (CALLFRAME_SIZ + 3*SZREG(sp)) to save FSR?
2011-02-26 15:01:31 +00:00
jruoho 4939599599 Use config_defer(9) for cpu_rescan() in cpu_attach().
Also mark few local functions as static.
2011-02-26 14:43:18 +00:00
tsutsui c267011572 - clear MIPS_FPU_EXCEPTION_BITS in MIPS_FPU_CSR in SIGILL case
as noted in commit log of rev 1.158
- update comment to reflect changes in rev 1.109
2011-02-26 13:58:34 +00:00
wiz 35124272d3 Remove duplicate "the". From Henning Petersen in PR 44640. 2011-02-26 12:56:35 +00:00
tsutsui 08938afcbd Mechanically adapt to new interrupt/spl framework. Untested. 2011-02-26 12:54:41 +00:00
tsutsui 45a7a81b2b Explicitly include <mips/locore.h> for softint_process(). 2011-02-26 12:09:34 +00:00
tsutsui b543d3edb5 Explicitly include <mips/locore.h> for mips_locoresw. 2011-02-26 12:08:30 +00:00
tsutsui 69d0ae1d3d Explicitly include <mips/locore.h> for wbflush(). 2011-02-26 12:07:45 +00:00
tsutsui beb830523e No need to include <mips/locore.h> here. 2011-02-26 12:04:25 +00:00
tsutsui 0a73905435 Use mips_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL. 2011-02-26 12:02:01 +00:00
tsutsui dbe74b603b Um, it's mips_fpuillinst(), not fpemul_fpuillinst(). 2011-02-26 11:27:59 +00:00
tsutsui 191091a034 Use fpemul_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL. 2011-02-26 11:16:12 +00:00
tsutsui d26a5ea969 mips_fpu_trap() no longer passes pc to mips_fpuillinst().
Use _R_PC value in trapframe instead for ksi_addr of siginfo.
2011-02-26 11:05:54 +00:00