Commit Graph

175956 Commits

Author SHA1 Message Date
wiz e0b3354a66 mdoclint cleanup:
Sort SEE ALSO, fix xref sections, new sentence - new line.
2008-12-17 10:33:35 +00:00
pooka b1e593bee5 Pick PPC_OEA over PPC_IBM4XX. I've decided I like it more.
(plus it hopefully builds without source changes)
2008-12-16 23:49:48 +00:00
pooka 49751f013b remove some completed TODO items and add new ones 2008-12-16 23:34:28 +00:00
christos 930983f9c3 use the bitmask_snprintf info which is more complete, and adjust it for
reality.
2008-12-16 23:19:16 +00:00
pooka abe4c2aeb6 liberate trailing whitespace 2008-12-16 23:17:17 +00:00
pooka 994144641d -Isys/arch is used in kernel builds 2008-12-16 23:16:46 +00:00
christos 20ffd1f752 fix return values for snprintf and vsnprintf. 2008-12-16 23:09:19 +00:00
christos 6be7b1d936 kill bitmask_snprintf 2008-12-16 22:50:32 +00:00
christos 2cd3d9d4aa Remove 3rd buggy copy of this function and use snprintb(3) instead.
No need to allocate MAXPATHLEN buffers anymore.
2008-12-16 22:44:50 +00:00
christos 9a5d3f2817 replace bitmask_snprintf(9) with snprintb(3) 2008-12-16 22:35:21 +00:00
christos c057bf8352 move snprintb to common 2008-12-16 22:34:40 +00:00
christos cec60a5890 share with kernel; replaces bitmask_snprintf which was very broken:
- subtracted one from len without checking if len was 0
- checked for a minimum buffer size
- arguments order was inconsistent with other printf like functions
- no way to tell if it overflowed
2008-12-16 22:33:11 +00:00
christos 761540f260 regen 2008-12-16 19:55:22 +00:00
christos 85947fef5e add more intel iwn devices 2008-12-16 19:54:52 +00:00
reinoud 62c3c2d194 Check for a node being root on node creation so when the root node is disposed
of when working deep into the directory tree it can reliably be reget and
marked correctly as the FS root.

Fixed pwd(1) lock panic and possible endless loop in other tools.
2008-12-16 16:27:05 +00:00
pooka 81723cc93e The great QUOTA purge of '08: get rid of those #ifdef QUOTA and
#include "opt_quota.h" which do exactly nothing.  Speeds up kernel
compilation by 1.375*10^-20001 seconds.  But leave the most moxious
comment in msdosfs_vfsops untouched.
2008-12-16 16:18:25 +00:00
pooka f5ffdf8399 Mark pages busy during VOP_PUTPAGES(). Deals with KASSERT in nfs write. 2008-12-16 14:48:31 +00:00
reinoud 0be5b3fe22 Fix endless loop occuring on empty directories listing on 512 bytes/sector
media like harddiscs. Also provide provide a `safety net' on readdir so it
will signal EOF when its requested an entry outside the directory.
2008-12-16 14:28:34 +00:00
pooka 1355265509 Make rumpflushva flush only the atop info for a certain uvm object.
Better, but still not completely race-free (if two threads call
RUMP_VOP_PUTPAGES() directly for the same vm object).
2008-12-16 14:07:25 +00:00
wiz 113c09901f XFree86-4.8.0 out. 2008-12-16 13:03:29 +00:00
reinoud 42dbf4bb33 Elaborate SYNC debug messages and rename some debug messages to a more
proper category.
2008-12-16 10:30:19 +00:00
tteras 50a2f2e6d0 Update README 2008-12-16 06:48:38 +00:00
tteras b2b7434a10 Fix transport mode address selection in acquire handling.
Some earlier fixes got lost on 2008-12-05 commit.
2008-12-16 06:08:46 +00:00
jakllsch 26f9d336c3 In case the PCI command bits aren't already set, do so before performing
an access that requires them to be.  From KIYOHARA Takashi.
2008-12-16 02:46:47 +00:00
jakllsch 9ff34ac12b Add siisata(4) to the lists. From KIYOHARA Takashi. 2008-12-16 02:14:24 +00:00
cegger 67adcc40e5 cleanup BIOS memmap code:
- get rid of some nested externs
- reduce dependency on global variables
- some preparations for upcoming pmem(9)
2008-12-15 22:20:52 +00:00
mhitch 2c6d71a592 More device_t/softc split fallout, this time in iop(4). Fix from
Juan Romero Pardines.  Tested on alpha by me.
2008-12-15 18:35:48 +00:00
tsutsui 793d8fbd5f Move a pulled up entry of fxp(4) hardware ip4csum-tx bug workaround. 2008-12-15 13:27:13 +00:00
ad 503e396041 More paranoia. 2008-12-15 12:46:28 +00:00
tron 9eff96d745 Keep trying to attach ipmi(4) in the background for five seconds.
NetBSD now detects the IPMI support in a HP Proliant ML110 G4 again.
This fixes PR kern/40065 by myself.
2008-12-15 12:13:46 +00:00
ad 7c89190b50 Start percpu allocation at (ALIGNBYTES + 1) to avoid problem with importing
offset zero to vmem.
2008-12-15 11:59:22 +00:00
ad c1ef49a66f Back VMEM_ADDR_NULL change. It's too invasive. 2008-12-15 11:42:34 +00:00
ad b8c27c5dfc Check for VMEM_ADDR_NULL, not NULL. 2008-12-15 11:33:13 +00:00
ad f9b17a5200 Define VMEM_ADDR_NULL as UINTPTR_MAX, otherwise a vmem that can allocate
a block starting at zero will not work.

XXX pool_cache uses NULL to signify failed allocation.
XXX how did the percpu allocator work before?
2008-12-15 11:29:49 +00:00
ad 50f32f7a93 Put vm_lock into its own cache line. 2008-12-15 10:26:10 +00:00
he 9a3d86109e _DEV_ZERO_oARM is now only defined under COMPAT_16; make this build
after that change.
2008-12-15 09:43:27 +00:00
mrg b441ddb4e0 restore some old "intrdebug" code, but leave it under NOT_DEBUG. most
of it works, but one that prints func/arg for each handler is not very
stable...

for now, while schizo bus space pointer accesses aren't working, add
a SCHIZO_BUS_SPACE_BROKEN option so you can build a kernel with schizo.

with this, and the prior schizo interrupt fix, you can now fail to run
/sbin/init!
2008-12-15 06:44:56 +00:00
mrg d991cc1d1e properly calculate the addresses of the interrupt map & clr registers.
now interrupts are working.  but /sbin/init is failing to work over nfs.
2008-12-15 06:30:59 +00:00
mrg d098511db4 some minor KNF and also DPRINTF pm_flags in sparc_bus_map(). 2008-12-15 06:30:00 +00:00
matt 313f8b7991 Get the gmac driver close to working. 2008-12-15 04:44:27 +00:00
mrg 92a6d92cc8 merge these two files, makes sparc64 sparc/libc work again.
only provide __HAVE_LONG_DOUBLE if _LP64.
2008-12-15 00:25:05 +00:00
pooka af473973e4 Also assign a value to pmap_extract_p.
(3rd time's the charm, maybe i finally got it right?)
2008-12-15 00:12:54 +00:00
pooka 864681f9a5 Fix another error in sparc pmap_extract_p, as prompted by mrg 2008-12-15 00:10:48 +00:00
elad f4f1989ae8 PR/39559: Juan RP: veriexec(4): too easy to cause a NULL dereference
through it in kernel

Patch from PR applied with tiny modifications, thanks!

Discussed with blymn@ a while ago.
2008-12-14 23:20:23 +00:00
mrg 15e9690d92 no need for this to use BUS_SPACE_MAP_LINEAR - it uses bus_space properly 2008-12-14 23:13:18 +00:00
elad 48949a2a2a Fix length passed to strlcpy(): we used to get names one character shorter
than reality.

Should be pulled up to netbsd-5.
2008-12-14 23:12:58 +00:00
he cc040f5992 Bump SYMTAB_SPACE so that it fits again. 2008-12-14 23:07:22 +00:00
pooka 649c12eb68 If the arch uses __BSWAP_RENAME, provide non-namespaced kernel
symbols which just call the libc symbols.  Allows to get rid of
rump machine/bswap.h.

XXX:
1) this is unlikely to work on non-NetBSD
==>
2) should look into including libkern in librump
2008-12-14 19:58:29 +00:00
christos 49e9ba9a6b more KNF and ANSI from Anon-ymous 2008-12-14 18:46:33 +00:00
christos 334f5e8f00 ANSI and KNF from Anon Ymous 2008-12-14 17:03:43 +00:00