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
ad
cd7be76fdb
Add a dummy vrevoke().
2008-01-17 17:31:48 +00:00
ad
4eb2a42ae6
Fix v_freelisthd assertion failure during call to vdevdone(). No calling
...
VOPs without a vnode reference!
2008-01-17 17:28:54 +00:00
jklos
740cd1ea87
More Chelsio 10 gigabit driver files to complete the ones checked in
...
yesterday.
2008-01-17 15:54:35 +00:00
njoly
d321737f6a
Add new linux_uid16.c file needed for m68k.
2008-01-17 15:10:53 +00:00
ad
f5990f1bbb
breakpoint: set up a stackframe so gdb doesn't get lost.
2008-01-17 15:01:05 +00:00
yamt
0116b931c2
sync with kernel. (make some mbuf related statistics per-cpu.)
2008-01-17 14:53:18 +00:00
yamt
44dac61d31
make some mbuf related statistics per-cpu.
2008-01-17 14:49:28 +00:00
yamt
cc868dad6c
pmap_sync_pv, pmap_map_pte: use PTE_BASE if possible.
2008-01-17 13:26:20 +00:00
ad
231d556f22
- Ignore clean vnodes in vflush(). May fix false EBUSY when unmounting.
...
- Use vrelel() where v_usecount might become 0. Could fix "vnode sez".
- Add some assertions, fix a lock leak.
2008-01-17 13:06:04 +00:00
ad
42c90ece4c
Fix dodgy tests of v_usecount.
2008-01-17 10:39:14 +00:00
ad
6d827ae10e
Correct previous.
2008-01-17 10:28:24 +00:00
ad
1e584185b2
Correct test of v_usecount.
2008-01-17 10:27:43 +00:00