Commit Graph

205645 Commits

Author SHA1 Message Date
nonaka b161126702 fix compile failure. 2011-09-23 14:14:38 +00:00
jruoho b78b168963 More bugs in pow(3); cases for PR port-amd64/45391. 2011-09-23 13:48:28 +00:00
macallan a84e510199 make this build again with 32bit paddr_t
from he@
2011-09-23 12:42:15 +00:00
macallan a1ae3c591a remove accidentially committed debug output 2011-09-23 12:34:52 +00:00
jruoho e2a2156628 ACPICA 20110922 is out.
And the fun never stops: ACPI 5.0 is scheduled to be released soon.
2011-09-23 10:27:14 +00:00
tron b8b5c88370 Fix build with stack smash protection enabled. 2011-09-23 09:36:37 +00:00
mrg 81a1075469 apply some (uintptr_t) so that printing printers works on i386 (likely
all 32 bit.)
2011-09-23 07:31:39 +00:00
mrg f5aeae98ef add libgomp to this list of libs; so compat finds it properly. 2011-09-23 07:12:10 +00:00
mrg 8b0b8ab146 build and install libgomp, as needed by "cc -fopenmp", and its
suplimentary files like libgomp.spec and omp.h.
2011-09-23 06:47:54 +00:00
mrg e9341e1933 build compat versions of libgomp for everything except mips N64 (for now.) 2011-09-23 06:44:36 +00:00
mrg 68568a44b1 since omp.h is part of libgomp, put it in the libgomp files not the
libstdc++ files.
2011-09-23 06:43:46 +00:00
manu 38de55a5dd Fix the build that was broken by struct lwp *updateproc reference in
RUMP-visible code. Instead of checking that updateproc (aka ioflush,
aka syncer) will not sleep in PUFFS code, I check for any kernel thread:
after all none of them are designed to hang awaiting for a remote filesystem
operation to complete.
2011-09-23 01:57:32 +00:00
christos eae1c5542c PR/45393: Greg A. Woods: The mount point validation code (that looks for
nocoredump filesystems to avoid dumping on them) only worked for core
filenames that dump in the current working directory. Update the code to
validate the mount point of the parent directory of the core file if needed.
2011-09-23 00:03:29 +00:00
jym afeabb041e Expose Xen kernfs entries inside a domU. Patch originally from sborrill@,
slightly modified by me to profit from runtime checks for dom0 privileges
instead of using compile time macros (DOM0OPS).

It should now be possible to use pkgsrc's sysutils/xentools inside
a domU to query XenStore entries (or even modify part of it if the domain
has enough rights).
2011-09-22 23:02:34 +00:00
martin 12de7c048b Update Rawrite32 to latests version 2011-09-22 22:00:52 +00:00
christos 3454671372 Restore updateproc because rump uses it until we figure out how to remove it
for good.
2011-09-22 21:58:07 +00:00
mrg de7f28c14f only install libgomp.spec for the native build. look in the archdir
for libgomp.spec.

XXX: FILES/FILESDIR isn't working here for me yet.  no idea why.
2011-09-22 20:55:17 +00:00
apb 64d2b8e0ba Use vis(3) encoding when a string format is modified by the '#' flag.
Also bump copyright years.
2011-09-22 20:23:55 +00:00
christos 4e692bff8b document what size is. 2011-09-22 18:21:58 +00:00
njoly a7999336ff In functions list, switch from tab characters to Ta macro. Makes
nroff properly handle xrefs.
2011-09-22 18:14:09 +00:00
christos a0af16e360 - factor out common code in the inet and inet6 printing.
- add appletalk (ddp) support.
2011-09-22 17:27:50 +00:00
he 65217c2910 Also eliminate now-no-longer-used local variable. 2011-09-22 16:08:49 +00:00
he 89071b8936 Make this build again: include <err.h> when needed, and don't
shadow err() with a local variable called err...
2011-09-22 16:05:11 +00:00
christos 8624929e77 Fix unchecked malloc, check for overflow (Maksymilian Arciemowicz)
While here, remove unused casts, fix types.
2011-09-22 12:49:57 +00:00
christos 3670fb8d46 Eliminate unchecked malloc (Maksymilian Arciemowicz) 2011-09-22 12:43:09 +00:00
christos 144b6f2c66 Check result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:40:48 +00:00
christos 5b4a37ed53 check the result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:38:33 +00:00
jym 3d92bf7df0 The bnx(4) handler runs at IPL_NET (works with spin mutexes), while
allocations can be deferred to a workqueue(9): set its highest IPL to
IPL_NET and not IPL_NONE, which is protected by an adaptive/sleeping mutex.
2011-09-22 08:42:53 +00:00
mrg 162d7d5b76 remove an extra ".TP" that broke my build. 2011-09-22 07:30:04 +00:00
macallan fc1dcffcb1 use BUS_SPACE_MAP_PREFETCHABLE 2011-09-22 06:16:13 +00:00
macallan 9320bc4780 support BUS_SPACE_MAP_PREFETCH in order to allow mapping device memory and
DMA buffers with cacheing disabled but things like write combining, relaxed
ordering etc. allowed when the CPU supports it
so far enabled only on Loongson, should work on R1xk and probably newer CPUs
2011-09-22 05:08:52 +00:00
mrg 23f1423382 regenerate. 2011-09-22 04:22:17 +00:00
jakllsch 8524c1046a valz(4) is superseded entirely by acpivga(4) these days. 2011-09-22 01:15:31 +00:00
wiz bb903ea004 New sentence, new line. Remove empty EXAMPLE section. 2011-09-21 20:12:11 +00:00
christos 9a4d7431cb Add a canonicalize option to avoid disaster when one converts directories
to symlinks in the tree and back. This option is expensive, it could be
made better by cacheing, but not now.
2011-09-21 19:34:54 +00:00
christos 9525895f88 constify 2011-09-21 19:32:59 +00:00
jakllsch b500df69ab Set LOADADDR to 0x600, matches how gptmbr.bin is compiled upstream.
This should let this actually work.
2011-09-21 18:15:59 +00:00
christos 622dd6a7e2 Put the mbuf type in the ktrace record so that we know how to decode it
in userland.
2011-09-21 18:10:25 +00:00
christos 17c41f8e0c Symbolic printing of some known MISC records. 2011-09-21 17:48:51 +00:00
macallan f0e7336a90 make the code that deals with mapping regular memory non-cached work again:
- honour PMAP_NOCACHE
- move the PGC_NOCACHE stuff out of #ifdef PARANOIADIAG
we need this to mmap DMA buffers non-cached on sgimips
2011-09-21 16:37:54 +00:00
christos 4719f3b41e buildfloppies.sh: Image is 29012 bytes (28 KB) too big to fit on 2 disks
So make it 3 floppes until someone finds a way to conserve space. The
build has been broken for months.
2011-09-21 16:13:51 +00:00
manu da3795c23e Make sure ioflush does not sleep in PUFFS code path, waiting for a mutex,
a memory allocation, or a response from the filesystem.

This avoids deadlocks in the following situations:
1) when memory is low: ioflush waits the fileystem, the fielsystem waits
   for memory
2) when the filesystem does not respond (e.g.: network outage ona
   distributed filesystem)
2011-09-21 15:36:33 +00:00
cegger 790b04f998 Initialize mutex before use. Lets me boot a dom0 kernel again
without a lockdebug panic.
2011-09-21 15:26:47 +00:00
reinoud 0d50410977 Add revision 3/A1 of the KIRKWOOD
{ KIRKWOOD(88F6192),	3, "88F619x",	"A1",	"Kirkwood" },
2011-09-21 14:38:51 +00:00
christos 618434e41f PR/45385: Henning Petersen: Swapped arguments in lseek 2011-09-21 14:33:35 +00:00
christos 48adc0d0fe PR/45384: Henning Petersen: Swapped arguments in lseek 2011-09-21 14:32:14 +00:00
christos 6f2c981e29 PR/45383: Henning Petersen: Swapped lseek args 2011-09-21 14:30:47 +00:00
rkujawa e6f3c8ee59 Remove zbusmap prototype from bus.h (now in zbusvar.h) 2011-09-21 13:05:32 +00:00
christos 96c3e77145 no parameter names. 2011-09-21 12:48:57 +00:00
rkujawa 3e2616d8d1 Fix build for both amiga and amigappc (discussed with christos). 2011-09-21 12:40:25 +00:00