skrll
2e64c5fc7e
Typo in uai_interface_index.
...
PR/37792 from Yojiro UO.
2008-01-19 09:58:38 +00:00
tls
632396a909
Add constants for modular arithmetic operations other than exponentiation -- there's hardware out there which can do them.
2008-01-19 08:08:20 +00:00
sjg
807aff24d0
Implement -dl (aka LOUD) to override '@' at the start of script lines.
...
Based on supplied patch.
PR: 37202
2008-01-19 06:52:13 +00:00
ginsbach
b0f72f0138
Add regression test for inet_network(3).
2008-01-19 04:12:20 +00:00
ginsbach
0d03389c52
Treat input "0x" as invalid and return INADDR_NONE. Inspired by
...
FreeBSD-PR 92880.
2008-01-19 03:46:52 +00:00
simonb
741ec49962
Use M_80211_NODE as malloc type for a 80211 node as rest of net80211
...
code does, instead of M_DEVBUF. Fixes panics if KMEMSTATS are enabled.
Also use M_ZERO instead of memset on malloc()'s results.
2008-01-19 03:45:08 +00:00
jmcneill
230c2072a3
Note addition of amd64 suppor for bktr(4)
2008-01-19 02:19:13 +00:00
ad
40e9e0d144
Fix a dumb bug.
2008-01-19 01:18:47 +00:00
rumble
8a7c44d074
Ensure that circular dependencies do not panic the machine by doubly
...
locking the same file. Remove the special self-dependant case previously
introduced, as the general case handles it properly.
2008-01-19 00:57:35 +00:00
he
9df302c742
Fix another place where the newly added partial debugging symbols
...
need to be omitted in ELF -> a.out conversion.
2008-01-19 00:03:39 +00:00
rumble
cab5348539
Deal with braindead modules that depend on themselves, rather than inducing
...
an ambiguous panic later on.
2008-01-18 16:41:46 +00:00
ad
718e62e993
Noisy printfs.
2008-01-18 16:28:58 +00:00
martin
3049bc6660
Use the new information about per-cpu mappings. Gdb now can examine
...
the interrupt stack.
2008-01-18 16:26:09 +00:00
martin
633ac5fa86
Extend the MD kernel core header, so that crashdumps record enough
...
information to recover all per-cpu mappings. This provides access to
the interrupt stack for example.
2008-01-18 16:24:42 +00:00
ad
096996ec09
Noisy printf
2008-01-18 16:22:50 +00:00
christos
4e783482fa
Fix off-by-one buffer overflow. VU#203611, CVE-2008-0122
2008-01-18 16:20:57 +00:00
christos
00f5cbb6dc
From Richard M Kreuter: GLOB_PERIOD fix for trailing ./ or ../
2008-01-18 16:20:00 +00:00
ginsbach
9470f2d15c
Fix problem with handling escaped octal and hexadecimal sequences in the -f
...
format option. The problem is that the next character after such an escape
was not copied to the output.
2008-01-18 16:16:10 +00:00
skrll
78a1d02a15
Catch up with changes so that kernel frame unwinding works again.
2008-01-18 16:07:22 +00:00
rumble
81097194ca
Avoid NULL pointer deref.
2008-01-18 14:29:44 +00:00
reinoud
ef25457ba7
pthread_cond_timedwait() needs an absolute time to wait for instead of the
...
relative time in ticks.
2008-01-18 14:12:19 +00:00
yamt
c7560dfc16
remove stale comments
2008-01-18 12:03:32 +00:00
yamt
95293b8c43
pmap_page_remove: don't bother to find the MIN node where any node is fine.
2008-01-18 11:35:49 +00:00
yamt
93a915eb7a
genfs_do_putpages: DEBUG checks.
2008-01-18 11:01:23 +00:00
yamt
36c701bcd4
genfs_do_putpages: ensure that we clean the vnode in the case of PGO_RECLAIM.
2008-01-18 11:00:53 +00:00
yamt
2b40f35040
push pmap_clear_reference calls into pdpolicy code, where reference bits
...
actually matter.
2008-01-18 10:48:23 +00:00
skrll
886189b384
Adjust comments to fit <80 columns.
2008-01-18 10:03:27 +00:00
skrll
f447c6a89d
KNF
2008-01-18 10:00:48 +00:00
skrll
fb13dda50a
Correct a comment.
2008-01-18 09:56:41 +00:00
skrll
53dff44431
Whitespace.
2008-01-18 09:48:57 +00:00
he
953b540396
Increase SYMTAB_SPACE to 270000 so that the symbol table fits again.
2008-01-18 09:48:30 +00:00
jmmv
26f9a12859
Add ofppc64 as a machine target for the tools alongside evbppc64 and macppc64
...
that are already there (even if not useful for anything else, AFAIK).
2008-01-18 09:45:05 +00:00
skrll
954a1f6c2c
Add W and O PSW bit defines.
...
From OpenBSD.
2008-01-18 09:42:12 +00:00
skrll
278f254bbd
Spelling in comment.
2008-01-18 09:38:06 +00:00
jschauma
595e87e328
add an paragraph before listing of options
2008-01-18 01:50:11 +00:00
simonb
604b8b0477
Fix tyop in a KASSERT: s/mod_required/mod->mod_required/
2008-01-18 01:41:55 +00:00
joerg
4ef3261d7c
Add power management support. Untested due to lack of feedback.
2008-01-18 01:33:40 +00:00
joerg
04eaea3b16
Short cut doshutdownhooks on panic. The system is wedged and so avoid
...
anything that could make the status worse.
2008-01-18 01:22:18 +00:00
simonb
64cc17b1ee
Standalone programs (via libkern) end up pulling this header in, so
...
check for !_STANDALONE as well before trying to include <stdint.h>
2008-01-18 01:20:48 +00:00
jmcneill
8761d09319
Don't be so aggressive in polling the EC when cold, port-i386/37790.
2008-01-18 01:03:24 +00:00
jmcneill
91a074d893
If we are in polling mode, do not try to spin forever in the state machine
...
waiting for a read or write to complete. Workaround an issue on my VAIO,
but we really need to figure out why it is failing in the first place.
2008-01-18 00:33:54 +00:00
garbled
80a83a2b7e
Add support to ofppc for the IBM 7044-270 machine. This is a POWER3-II
...
based machine. Currently the kernel to run on this machine is
incompatible with the standard GENERIC kernel, so for now, we have a
separate GENERIC_B64. Eventually, I hope to combine the two.
Please note, this is a port of 32bit ofppc, not a powerpc64 port.
Thanks to Matt Thomas and Kevin Bowling for helping to make this port
possible.
Summary of changes:
Change ofwpci to use the ofmethod config for configuring the PCI bus,
rather than indirect configuration.
Move the wiring of the interrupt controllers from at the start of the
boot, into the configuration of the first PCI bus.
Rewrite the map_isa_ioregs() hack to work on a machine without BATs
Fix a ton of bugs in the genofw_find_pics routine, and in the map_space code.
Split the pic_openpic into openpic_common and pic_openpic.
Create a new pic_distopenpic driver, for the distributed openpic found on
some newer IBM machines.
Fix a bad panic in pmap_extract on 64bit bridge mode
2008-01-17 23:42:57 +00:00
rumble
75030bbb1e
Fix a panic that occurs when a dependency had already been loaded and a
...
dependant module is loaded by setting modp when returning ENOENT.
Also, be stricter with regards to MAXMODNAME.
2008-01-17 22:35:53 +00:00
rumble
80993719d2
Before bailing on ENOENT, try one more time with an appended ".o". This
...
lets us load dependencies by module name and makes 'modload foo' work when
'foo.o' is the file.
2008-01-17 22:32:49 +00:00
rumble
3d82d54236
MODCTL_LOAD and MODCTL_FORCELOAD generally pass a path (if a module name
...
is passed, it's fixed up in kobj_subr.c), so permit MAXPATHLEN arguments.
The other commands deal strictly with module names, so leave them be.
While we're here, copyinstr()'s length parameter includes NUL-termination,
so no need to subtract 1.
2008-01-17 22:30:54 +00:00
pooka
fd1f386de1
fix incorrect tick -> timespec calculation. noticed by reinoud
2008-01-17 21:05:36 +00:00
joerg
0d7c94dad4
Add a stub file that includes a bunch of kernel headers and always get
...
compiled with -g. For the initial set, netbsd on amd64 grows by around
80KB. This allows much easier use of GDB for post-mortem debugging as
it can understand the layout of data structures. The additional data can
be strip(1)ped off normally for size constraint environments.
2008-01-17 20:14:49 +00:00
ad
95e0feb94e
vrevoke: fix a couple of botches.
2008-01-17 19:23:13 +00:00
pooka
661097a9a5
Remove bogus KASSERT: we can't make any assumptions about a dirent's
...
node in unmount since it might have been freed already.
fixes PR kern/37667. per discussion with ad & simonb.
2008-01-17 18:22:52 +00:00
pooka
c142350bc6
Fix fakecc case.
...
Noticed by Pavel Jirout on current-users
2008-01-17 17:43:14 +00:00