History log of /src/lib/libkvm/kvm_alpha.c |
Revision | | Date | Author | Comments |
1.29 |
| 23-Aug-2023 |
rin | libkvm: whitespace
|
1.28 |
| 10-Jan-2022 |
christos | Get rid of usrstack/USRSTACK. Document that the old version of getargv is broken because of ASLR.
|
1.27 |
| 19-Feb-2014 |
dsl | Remove the #include <sys/user.h> from all of libkvm. sys/user.h is a stub that just #includes sys/pcb.h. There are no 'struct pcb' anywhere in here, so I'm extremely doubtful any of the builds will fail. OTOH it might be relying on a header that pcb.h includes. In any case i386 and amd64 build.
|
1.26 |
| 27-Jan-2014 |
matt | Add missing __RCSID("$NetBSD$");
|
1.25 |
| 20-Sep-2010 |
jym | branches: 1.25.6; 1.25.12; 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
|
1.24 |
| 19-Sep-2010 |
jym | 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
|
1.23 |
| 15-Jan-2008 |
ad | Handle reading from raw disk devices.
|
1.22 |
| 16-May-2003 |
wiz | branches: 1.22.22; Consistently spell "crash dump" as two separate words. From jmc@openbsd.
|
1.21 |
| 09-Apr-2003 |
nathanw | Just use PAGE_SHIFT from <machine/vmparam.h> instead of going through hoops to read and cache the value from the crash dump header.
|
1.20 |
| 05-Aug-2001 |
matt | branches: 1.20.2; Include <machine/vmparam.h> for VM_MIN_*...
|
1.19 |
| 05-Aug-2001 |
matt | Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't defined. Include them explicitly in the few kvm_arch.c that need them.
|
1.18 |
| 29-Jun-2000 |
mrg | <vm/vm.h> -> <uvm/uvm_extern.h>
|
1.17 |
| 26-Jun-2000 |
mrg | remove redundant vm includes
|
1.16 |
| 14-Jun-2000 |
cgd | fix up NetBSD RCS Ids to match the standard, and the leading comment as to match as well. No functional changes.
|
1.15 |
| 02-Jul-1999 |
simonb | branches: 1.15.6; More trailing white space.
|
1.14 |
| 17-Aug-1998 |
thorpej | vm_size_t -> vaddr_t, thanks Matt Thomas for pointing it out.
|
1.13 |
| 01-Aug-1998 |
thorpej | Remove some lint.
|
1.12 |
| 30-Jun-1998 |
thorpej | Use pread(2) and pwrite(2) rather than lseek(2)/{read,write}(2).
|
1.11 |
| 25-Mar-1998 |
thorpej | Don't rely on a constant page shift value; dynamically compute it based on the page size in the crash dump header.
|
1.10 |
| 03-Mar-1998 |
thorpej | Update for changes to <machine/pte.h>
|
1.9 |
| 14-Feb-1998 |
cgd | adjust changes in alpha's kcore.h.
|
1.8 |
| 02-Nov-1997 |
ross | --Fix k1seg translation, which has been broken since --10/10/97 when a WARNS "fix" was put in that broke --kernel core dump stack backtrace and other --things that go thru libkvm.
|
1.7 |
| 10-Oct-1997 |
mrg | branches: 1.7.2; clean up WARNS on the alpha.
|
1.6 |
| 12-Aug-1997 |
gwr | Add _kvm_mdopen()
|
1.5 |
| 01-Oct-1996 |
cgd | add support for real KV addresses, and clean up some.
|
1.4 |
| 01-Oct-1996 |
cgd | Real alpha support, minus actual KV -> physical translation. (Does K0SEG -> physical translation, though, which is enough for e.g. dmesg and vmstat -i.)
|
1.3 |
| 01-Oct-1996 |
cgd | stub _kvm_pa2off so that new libkvm links
|
1.2 |
| 29-Sep-1995 |
cgd | reminder to not forget k0seg translations. (nothing done here yet, though.)
|
1.1 |
| 10-Feb-1995 |
cgd | stubs.
|
1.7.2.1 |
| 02-Nov-1997 |
mellon | Pull rev 1.8 up from trunk (ross)
|
1.15.6.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.20.2.2 |
| 05-Aug-2001 |
matt | Include <machine/vmparam.h> for VM_MIN_*...
|
1.20.2.1 |
| 05-Aug-2001 |
matt | file kvm_alpha.c was added on branch nathanw_sa on 2001-08-05 17:51:41 +0000
|
1.22.22.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.25.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.25.6.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|