#
62e1e7cd |
| 10-Jan-2022 |
christos <christos@NetBSD.org> |
Get rid of usrstack/USRSTACK. Document that the old version of getargv is broken because of ASLR.
|
#
d528aa82 |
| 27-Jan-2014 |
matt <matt@NetBSD.org> |
Add missing __RCSID("$NetBSD$");
|
#
962a341d |
| 20-Sep-2010 |
jym <jym@NetBSD.org> |
Change kvm_pa2off() and kvm_kvatop() prototypes (private to kvm(3)):
-int _kvm_kvatop(kvm_t *, u_long, u_long *); -off_t _kvm_pa2off(kvm_t *, u_long); +int _kvm_kvatop(kvm_t *, vaddr_t, pa
Change kvm_pa2off() and kvm_kvatop() prototypes (private to kvm(3)):
-int _kvm_kvatop(kvm_t *, u_long, u_long *); -off_t _kvm_pa2off(kvm_t *, u_long); +int _kvm_kvatop(kvm_t *, vaddr_t, paddr_t *); +off_t _kvm_pa2off(kvm_t *, paddr_t);
Basically, use vaddr_t for VA and paddr_t for PA. In addition, for variables representing addresses, use paddr_t or vaddr_t, depending on the context.
For most arches, vaddr_t and paddr_t are equivalent to unsigned long. However, the change was needed for exotic situations, like i386 PAE, were unsigned long is not suitable for PA which are 64 bits long. As this required a complete change of the function prototypes, all arches had to be adapted accordingly.
Core files from before this commit should still work with the new code; I did not see any direct dependency between core's structure and kvatop/pa2off.
The change was compile tested for all arches, as it impacts all of them.
See also:
http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html
show more ...
|
#
6dc46b92 |
| 19-Sep-2010 |
jym <jym@NetBSD.org> |
Ansify and KNF all functions within kvm(3). No objection on current-users@.
Used as ground for u_long => vaddr_t/paddr_t replacements in kvm(3) private functions.
Compile tested for all arches. See
Ansify and KNF all functions within kvm(3). No objection on current-users@.
Used as ground for u_long => vaddr_t/paddr_t replacements in kvm(3) private functions.
Compile tested for all arches. See also:
http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html
show more ...
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
f82a63df |
| 21-May-2001 |
fredette <fredette@NetBSD.org> |
Added support for sun2 kernel cores.
|
#
f37e7bc5 |
| 17-Jan-1998 |
veego <veego@NetBSD.org> |
Never ever commit changes without comiling it, even if you only change a comment.
|
#
04e1e909 |
| 28-Oct-1997 |
gwr <gwr@NetBSD.org> |
Use <m68k/kcore.h> rather than <machine/kcore.h> to ensure machine independence.
|
#
f6385749 |
| 12-Aug-1997 |
gwr <gwr@NetBSD.org> |
Add _kvm_mdopen()
|
#
b6c0c9a2 |
| 09-Apr-1997 |
thorpej <thorpej@NetBSD.org> |
Update for new m68k/kcore.h. We use dispatch information provided by the crash dump itself to facilitate cross-analysis. The m68k_cmn for Utah pmaps reads MMU configuration from the crash dump to t
Update for new m68k/kcore.h. We use dispatch information provided by the crash dump itself to facilitate cross-analysis. The m68k_cmn for Utah pmaps reads MMU configuration from the crash dump to that this works on 4k and 8k h/w page size systems.
show more ...
|
#
95883471 |
| 21-Mar-1997 |
gwr <gwr@NetBSD.org> |
Build the same libkvm.* on all m68k machines. (Well... except for the stragglers that still use libkvm.old ) The m68k machines now dispatch based on the machine name to the appropriate libkvm imple
Build the same libkvm.* on all m68k machines. (Well... except for the stragglers that still use libkvm.old ) The m68k machines now dispatch based on the machine name to the appropriate libkvm implementation.
show more ...
|
#
287a3d66 |
| 07-May-1996 |
leo <leo@NetBSD.org> |
Fix small typo in last commit.
|
#
82118b75 |
| 05-May-1996 |
gwr <gwr@NetBSD.org> |
Allow more flexibility in the format of cpu_kcore_hdr_t and isolate the knowledge of that struct in the machine-dependent module.
|
#
346e67f8 |
| 18-Mar-1996 |
thorpej <thorpej@NetBSD.org> |
RCS id police.
|
#
9c2128ec |
| 16-Mar-1996 |
leo <leo@NetBSD.org> |
New libkvm/savecore implementation. With the following differences: 1) savecore will not access the dump or live-kernel directly. It will always use the kvm-functions. Allowing it to wor
New libkvm/savecore implementation. With the following differences: 1) savecore will not access the dump or live-kernel directly. It will always use the kvm-functions. Allowing it to work on kernels that don't have a 1-1 PA-VA mapping. 2) the kvm-lib has some additional functions to accomplish 1 - kvm_dump_mkheader() - kvm_dump_wrtheader() - kvm_dump_inval() 3) the file formats of the dump generated by the kernel and the dump generated by savecore have been changed. The file format now looks like the format produced for 'normal' core dumps. Ports not yet supporting the new kvm-format will be using libkvm.old/ savecore.old for the time being.
show more ...
|
#
bc09c2e1 |
| 01-Jul-1995 |
briggs <briggs@NetBSD.org> |
Take out cpu040 case for mac68k.
|
#
b331e636 |
| 02-Apr-1995 |
chopps <chopps@NetBSD.org> |
should work without specialization now.
|
#
c3049714 |
| 09-Jan-1995 |
mycroft <mycroft@NetBSD.org> |
Eliminate _kvm_uvatop(), in favor of using the machine-independent VM structures.
|
#
96e43789 |
| 18-Sep-1994 |
mycroft <mycroft@NetBSD.org> |
Merge the m68k files. The code itself should be merged.
|
#
54774f92 |
| 09-May-1994 |
cgd <cgd@NetBSD.org> |
m68k-ify the hp300 kvm file; use MACHINE_ARCH to pick files up
|