fredette
02ac1ae2f0
Added hppa support (some of it incomplete) to lib/csu, lib/libc,
...
and lib/libkvm.
2002-06-06 20:31:19 +00:00
fvdl
d05b42e66d
kva -> physaddr translation through pagetable walking; for crash dumps
...
(as yet untested).
2002-06-05 22:01:55 +00:00
wiz
effeef0d33
__STDC__ is always defined on NetBSD.
2002-05-26 18:33:25 +00:00
ross
814f296b77
Generate <>& symbolically.
2002-02-07 07:00:09 +00:00
wiz
35fa939a59
Sort sections, fix punctuation nits.
2002-01-15 02:53:04 +00:00
wiz
1d6df4a83c
Sort sections, fix whitespace and punctuation nits.
2002-01-15 02:52:49 +00:00
wiz
50adf61724
Sort SEE ALSO.
2002-01-15 02:52:22 +00:00
wiz
923580f4b2
Sort sections and SEE ALSO, fix punctuation nits.
2002-01-15 02:52:09 +00:00
wiz
f6254de6da
Sort sections.
2002-01-15 02:51:48 +00:00
lukem
efcc9a4c9d
* Add user-controlled mk.conf variables
...
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR}
is "yes". Defaults to "/usr/lib".
- USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR}
instead of ${LIBDIR}. Defaults to "no".
Sets ${_LIBSODIR} to the appropriate value.
This may be set by individual Makefiles as well.
- SHLINKDIR Location of shared linker. Defaults to "/usr/libexec".
If != "/usr/libexec", change the dynamic-linker
encoded in shared programs
* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
libtermcap libutil libz
* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
to ${_LIBSODIR}/${LIB}.so* for compatibility.
* Always install /sbin/init statically (for now)
The net effect of these changes depends on how the variables are set:
1.) If nothing is set or changed, there is no change from the
current behaviour:
- Static /bin, /sbin, and bits of /usr/*
- Dynamic rest
- Shared linker is /usr/libexec/ld*so
2.) If the following make variables are set:
LDSTATIC=
SHLINKDIR=/lib
SHLIBDIR=/lib
Then the behaviour becomes:
- Dynamic tools
- .so libraries used by /bin and /sbin are installed to /lib,
with symlinks from /usr/lib/lib*so to -> /lib/lib*so
where appropriate
- Shared linker is /lib/ld*so
3.) As per 2.), but add the following variable:
USE_SHLIBDIR=yes
This forces all .so's to be instaleld in /lib (with compat
symlinks), not just those tagged by their Makefiles to be.
Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
thorpej
2c6ba846c5
Rename a local to avoid a -Wshadow warning.
2001-11-29 23:32:42 +00:00
lukem
11e3398883
WARNS=2 fixes
2001-11-05 14:59:21 +00:00
mrg
88199bcb84
undefine VA_VPG and VA_OFF before defining them.
2001-09-22 00:53:01 +00:00
wiz
9fa0b17629
Give initiali[sz]e all the "i"s it deserves.
2001-09-18 18:15:49 +00:00
simonb
92a129c5fb
Need <machine/pmap.h> for the pdei and ptei macros.
2001-09-17 12:48:20 +00:00
chuck
a089eada9d
include machine/vmparam.h so it will compile once again
2001-09-07 01:48:37 +00:00
matt
55c1d5c2d5
Include <machine/vmparam.h> for VM_MIN_*...
2001-08-05 17:51:40 +00:00
matt
cce919e025
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.
2001-08-05 03:33:15 +00:00
matt
f6c7ed1948
Steal the variable VM_* stuff from m68k.
2001-07-16 05:45:52 +00:00
fvdl
6a150bca8d
Add (mostly stub) x86-64 kvm stuff. Needs work.
2001-06-19 00:43:24 +00:00
fredette
f82a63dfb7
Added support for sun2 kernel cores.
2001-05-21 14:56:29 +00:00
simonb
a69a3cc5ec
Spell occurred correctly.
2001-04-25 02:19:48 +00:00
simonb
ea5c187922
xref kvm_open.
2001-04-06 14:37:27 +00:00
jdolecek
10b43f7cd4
kvm_doargv2(): make sure the string ends with '\0'; sysctl() might not
...
properly end it if the data would be longer than the supplied
buffer
This fixes lib/11467 by SAITOH Masanobu and lib/12389, maybe also
lib/12439.
2001-03-24 10:02:45 +00:00
jdolecek
233eee3634
Minor fix to kvm_doargv2() - if the kd->argv is reallocated, reinitialize
...
'ap' too. This doesn't seem to have any effect either way; seems like the
condition is never met?
2001-03-24 09:54:52 +00:00
bjh21
c4f68df178
Rename kvm_arm32.c to kvm_arm.c, since it's shared between arm32 and arm26.
...
The Makefile now finds the correct file without help.
2001-01-08 18:30:03 +00:00
itojun
99b0df5333
use MACIHNE_CPU to determine architecture-dependent source code directory.
...
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun
8145e73c70
sh3 split
2001-01-04 08:59:24 +00:00
jdolecek
38f7c1d48b
adapt to latest struct proc, struct sigacts, struct sigctx changes
2000-12-22 23:11:19 +00:00
msaitoh
dedc9b2e09
Add forgotten initialization.
...
Fixed PR#11446.
2000-11-16 08:57:15 +00:00
matt
6ea9494104
be consistent in the use of u_long. eventually they should be uintptr_t.
2000-10-27 21:38:10 +00:00
he
dd0d61e300
Use %lx instead of %x with _kvm_err when arg is u_long.
2000-10-10 20:44:16 +00:00
enami
3cc984aab8
Make this file compiles on alpha.
2000-10-05 03:21:01 +00:00
sommerfeld
934ef16427
Format size mismatch
2000-10-04 18:12:01 +00:00
sommerfeld
f9d3ae0fbb
format-string audit cleanups
2000-10-04 16:11:27 +00:00
eeh
c8c5d91d87
Handle kernel cores properly.
2000-08-01 16:47:55 +00:00
christos
4678acf4ff
revert part of previous; u_long -> uintptr_t now that uintptr_t is u_long.
2000-07-16 02:20:03 +00:00
christos
2d9658e4f7
de-lint. Most important problem was the cast from pointer to uintptr_t to
...
u_int64_t; changed the uintptr_t to u_long.
2000-07-16 02:04:11 +00:00
mrg
3b8ac18da2
<vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 06:34:22 +00:00
mrg
0eac4bfcc7
use <uvm/uvm_param.h> now.
2000-06-26 17:36:56 +00:00
mrg
10a6db97ee
remove redundant vm includes
2000-06-26 15:34:55 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
simonb
ec323af478
Document KVM_NO_FILES and kvm_get{proc,argv,envv}2(). Better wording
...
kindly accepted!
XXX: Need to update distrib lists. Tomorrow...
2000-06-13 15:48:56 +00:00
msaitoh
b86435df37
libkvm for sh3
2000-06-06 17:57:02 +00:00
tron
be033824b6
Use "NULL" instead of "0" in pointer assignments and comparisons.
2000-06-04 23:03:27 +00:00
thorpej
d36becd30f
p_schedflags doesn't exist anymore; just set it to zero for now,
...
although we'll be able to get the correct info through kmem
groveling later.
2000-05-27 01:03:00 +00:00
simonb
a9f690ae2a
Add kvm interface to the new sysctls:
...
kvm_getproc2() -> sysctl(KERN_PROC2)
kvm_getargv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ARGV)
kvm_getenvv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ENV)
Add new KVM_NO_FILES flag to kvm_open*() - set up enough state to
use the above calls without having to open any kernel files.
XXX: kvm_getprocs.3 and kvm_open.3 to be updated soon.
2000-05-26 02:42:21 +00:00
bjh21
6c97e2bd78
Initial commit of arm26 port
2000-05-09 21:55:44 +00:00
simonb
21bd11df50
Fill in e_sid when building the eproc from a crash dump.
2000-04-15 15:52:52 +00:00
simonb
e465cebbfc
Document KERN_PROC_TTY_NODEV and KERN_PROC_TTY_REVOKE.
2000-04-15 04:38:47 +00:00
chs
e0acecf117
in kvm_getprocs(), check for error from kvm_deadprocs().
2000-01-15 19:16:32 +00:00
chs
21eedb0ec1
the PMAP_NEW option is gone as the new interface is no longer optional.
1999-09-12 01:19:23 +00:00
cgd
1794a768f0
fix four major and one minor bug in dead kernel file-getting. Three
...
of the biggies crept in in rev. 1.10 (we need a lint trap!), the
others were here since the file was originally imported.
1999-08-19 05:42:56 +00:00
simonb
f68ec00b50
More trailing white space.
1999-07-02 15:28:49 +00:00
veego
d28a19df1b
Nuke swap_pager.h.
1999-04-01 09:57:00 +00:00
mycroft
5412e6f2c7
Nuke swap_pager.h.
1999-04-01 09:53:09 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
abs
edc1a24a56
Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
...
RCS Id.
1999-02-25 08:02:19 +00:00
drochner
3654576f9f
make this build again after the mips->mipse? transition
1999-02-24 15:10:16 +00:00
mrg
2998626fe3
uh...make this build on the sparc again...or something. i've had
...
to pull a few #define's from the sparc64 include's into this file,
renamed so that they don't break the sparc64. this is really hacky,
and should be fixed somehow. if the sparc is going to know about
32bit sparc64 kernels, the information necessary to get this needs
to exist somewhere for it to grab, not for duplication :(
1999-02-01 09:15:35 +00:00
eeh
d2aa2f5098
Need to be able to handle sparc64 executables as well.
1999-01-30 16:57:25 +00:00
mrg
5f0216fd45
catch up with the UVM amap changes.. tested by nathanw@mit.edu, thanks.
1999-01-25 03:38:57 +00:00
eeh
1a896d2040
Add enough of a kvm_sparc64.c to get the kvm library to build.
1998-11-25 05:49:58 +00:00
thorpej
623230f641
Need string.h.
1998-09-29 02:19:02 +00:00
christos
cc7ffa0da4
Remove lint
1998-09-27 18:15:58 +00:00
thorpej
f45860f9b4
Adjust for the reaper process.
...
XXX Would really like to use proclists[] here, but not right now.
1998-09-09 00:31:25 +00:00
thorpej
360b92c118
vm_size_t -> vaddr_t, thanks Matt Thomas for pointing it out.
1998-08-17 20:11:32 +00:00
mycroft
3748c7c959
Assign my copyrights to TNF.
1998-08-15 09:16:27 +00:00
perry
a843f0f8a5
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:43:08 +00:00
thorpej
9aae5a60db
Remove some lint.
1998-08-01 21:29:41 +00:00
thorpej
bf8f319d0e
Remove some lint.
1998-08-01 21:12:32 +00:00
mycroft
0c4d98ae35
const poisoning.
1998-07-26 17:53:10 +00:00
thorpej
5bc2ba5c36
Oops, missed a couple of pread(2) uses.
1998-06-30 20:40:44 +00:00
thorpej
55c7ea7c28
Use pread(2) and pwrite(2) rather than lseek(2)/{read,write}(2).
1998-06-30 20:29:39 +00:00
msaitoh
1666d3766d
fix return value of kvm_read() and kvm_write()
1998-06-29 20:36:30 +00:00
lukem
23ff8be23c
there probably are bugs. however, don't make an issue of it
1998-06-08 10:57:31 +00:00
thorpej
aa9e487ddc
Don't rely on a constant page shift value; dynamically compute it based
...
on the page size in the crash dump header.
1998-03-25 00:47:20 +00:00
pk
98de63c4a1
No need for autoconf.h
1998-03-15 23:26:04 +00:00
thorpej
c88048ed85
Update for changes to <machine/pte.h>
1998-03-03 00:07:30 +00:00
thorpej
255a7ded2d
NetBSD/mips uses new libkvm now.
1998-02-19 23:35:36 +00:00
thorpej
5af26b83d7
Rewrite NetBSD/mips crash dump address translation, based on NetBSD/alpha's,
...
using new crash dump format.
1998-02-19 23:32:35 +00:00
thorpej
c611491733
Sigh, typo.
1998-02-19 17:22:31 +00:00
thorpej
c548be173c
Simplify test ... MACHINE_ARCH == "mips"
1998-02-19 07:06:59 +00:00
perry
ba7b5f16ff
add -DPMAP_NEW if PMAP_NEW is on in mk.conf
1998-02-18 03:54:58 +00:00
thorpej
9a9b611334
Rewrite _kvm_kvatop() to work with the new crash dump format, and make
...
the i386 port use libkvm, not libkvm.old.
1998-02-18 01:13:08 +00:00
cgd
6c0b8a86ac
adjust changes in alpha's kcore.h.
1998-02-14 01:00:49 +00:00
chs
a6f9c2eab5
add UVM support.
1998-02-12 06:55:29 +00:00
mrg
0e91aec6e2
while it is still kinda broken, at least let it compile -DUVM...
1998-02-11 12:00:37 +00:00
mrg
3c9dd3f03a
oops, forgot to add support for UVM here.
1998-02-11 06:30:11 +00:00
perry
6982982f8d
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:39:31 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +00:00
perry
a751b73708
NetBSD 1.1A -> .Nx 1.2
1998-02-03 20:49:04 +00:00
perry
0b7831a37b
remove obsolete register declarations
1998-02-03 19:12:13 +00:00
mycroft
37846770dc
Need stdlib.h for prototypes.
1998-02-03 06:50:07 +00:00
veego
f37e7bc569
Never ever commit changes without comiling it, even if you only change a
...
comment.
1998-01-17 15:14:03 +00:00
perry
93db5caa95
RCSID Police.
1998-01-05 07:41:06 +00:00
ross
0e2ebc3559
--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.
1997-11-02 08:35:08 +00:00
gwr
04e1e909fe
Use <m68k/kcore.h> rather than <machine/kcore.h> to ensure
...
machine independence.
1997-10-28 16:52:25 +00:00
phil
704a774583
include stdlib.h to define free().
1997-10-28 06:22:40 +00:00
lukem
a45764133a
use CPPFLAGS instead of CFLAGS
1997-10-22 23:51:27 +00:00
jonathan
0841fc37a3
kill lint.
1997-10-20 19:43:26 +00:00
ragge
41d776ab5c
Fix warnings.
1997-10-20 12:49:50 +00:00
oki
05afa81a2e
Oops, fixed edit error at previous commit.
1997-10-19 19:15:30 +00:00
oki
92630972b5
NetBSD/x68k now use libkvm instead of libkvm.old
1997-10-19 19:10:26 +00:00
mark
03be22adfe
Include stdlib.h for prototype of free().
1997-10-18 02:37:00 +00:00
briggs
93cacd961e
Put spaces around / in comment so 'machine/*.h' does not generate '/* inside
...
comment' warning.
1997-10-12 11:04:18 +00:00
briggs
f10f7ea13b
Fix a couple of warnings.
1997-10-12 11:01:23 +00:00
briggs
03ea29eeb3
Put spaces around / in comment so 'machine/*.h' does not generate '/* inside
...
comment' warning.
1997-10-12 10:56:46 +00:00
mrg
88b52f5f52
clean WARNS on the sparc.
1997-10-10 13:11:50 +00:00
mrg
395c20ea27
clean up WARNS on the alpha.
1997-10-10 08:45:29 +00:00
mark
e19e9bf1cb
New version for libkvm rather than libkvm.old. Based on the kvm_powerpc.c
...
this is mainly stubs at the moment.
1997-10-05 23:54:13 +00:00
mark
9b68e622d1
Switch from libkvm.old to libkvm for the arm32 port.
1997-10-05 23:50:33 +00:00
pk
7dad7db427
The `cpu_kcore' header has changed allowing libkvm to be independent of
...
the kernel's link address (KERNBASE).
1997-09-20 18:26:20 +00:00
thorpej
4a66827620
Need <vm/vm.h>
1997-09-19 04:00:23 +00:00
kleink
c8aff50d1d
/* Tyop. */
1997-08-26 08:21:40 +00:00
mikel
6e0792fe1c
use -mdoc .Pa macro for filenames
1997-08-20 05:42:57 +00:00
drochner
cda7302736
Fix compiler warnings.
1997-08-15 17:52:45 +00:00
mikel
b4119f6b37
use <sys/cdefs.h> __RCSID() macro
1997-08-15 02:21:56 +00:00
mikel
38e3895a32
use <sys/cdefs.h> __RCSID() macro
...
GC unused variables and fix error message typo in kvm_deadfiles()
1997-08-15 02:18:02 +00:00
gwr
7739ce58e3
Add _kvm_mdopen()
1997-08-14 16:05:21 +00:00
gwr
f638574915
Add _kvm_mdopen()
1997-08-12 16:34:07 +00:00
gwr
99694d7c30
Instead of: USRSTACK, VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS
...
Use these: kd->usrstack, kd->min_uva, kd->max_uva
1997-08-12 16:30:15 +00:00
gwr
ab2c3b0106
Call _kvm_mdopen(kd) to do machine-dependent initialization.
1997-08-12 16:28:32 +00:00
gwr
c3d6f42b55
Add the members: usrstack, min_uva, max_uva to struct __kvm
...
and declare the function _kvm_mdopen() that initializes them.
1997-08-12 16:27:01 +00:00
gwr
f2ab2a3550
Get the length right in _kvm_sun3x_kvatop().
1997-07-17 22:42:00 +00:00
jonathan
e9661d76f6
MACH_CACHED_TO_PHYS() -> MIPS_KSEG0_TO_PHYS().
1997-06-25 21:08:45 +00:00
veego
c365104f2e
Use bsd.prog.mk and not bsd.{own,man}.mk
1997-06-23 22:16:56 +00:00
veego
0b29b097bb
Add bsd.own.mk for bsd.man.mk.
1997-06-23 09:45:19 +00:00
veego
918cdf2f4e
Don't include bsd.lib.mk if you don't build a library, just use bsd.man.mk
...
to build the manpages.
1997-06-23 09:07:49 +00:00
mrg
0553741950
move man pages into share/man.
1997-06-23 04:51:16 +00:00
mikel
7241b0ff92
fix some printf() formats
1997-06-20 05:18:22 +00:00
mikel
ef9b3c57f0
include <stdlib.h> for getloadavg() prototype
1997-06-20 04:43:36 +00:00
mikel
b089e1397c
add explicit return type for kvm_deadfiles()
1997-06-20 04:41:33 +00:00
jonathan
e3a957306e
Include mips1_pte.h and mips3_pte.h. Read cpu_arch from the kernel
...
and set local variables for MIPSx_PG_V, MIPSx_PG_SHIFT_,
MIPSx_PG_FRAME accordingly.
(defining both MIPS3 and MIPS1 and using pte.h. doesn't yet work in userland.)
1997-06-18 01:41:31 +00:00
ragge
5c3223d49a
Vax now uses new libkvm.
1997-06-07 12:18:54 +00:00
scottr
ac3595cba4
In kvm_cmn_pa2off(), make sure to use the correct RAM segment start/size
...
values when adjusting the PA/offset. (Only broken in the case where we
had multiple RAM segments.)
1997-04-23 18:47:40 +00:00
thorpej
b6c0c9a270
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.
1997-04-09 21:15:50 +00:00
thorpej
669065c879
Add missing argument to fprintf().
1997-04-09 21:11:41 +00:00
pk
0b0b9b7777
Off by 1 in PMEG comparison.
1997-04-02 21:07:03 +00:00
thorpej
b5afa93922
kvm routines for PowerPC; just stubs, for now. From Wolfgang Solfrank
...
<ws@tools.de>
1997-03-29 21:11:03 +00:00
gwr
da140670c7
typo
1997-03-21 18:48:58 +00:00
gwr
95883471d5
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.
1997-03-21 18:44:21 +00:00
matthias
d67f3db782
The pc532 port now uses the new libkvm.
1997-02-08 09:38:06 +00:00
mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
mikel
ef2aa56d9f
fix description; PR misc/3077.
...
also added xref to sysctl(3), which may be preferable.
1997-01-03 06:36:55 +00:00
pk
9cb162ce6a
Handle crash dumps new-style.
1996-11-09 23:47:34 +00:00
pk
dbaf74ae49
Check return value of _kvm_initvtop().
1996-11-09 23:44:53 +00:00
cgd
e79d25e2e9
Don't use a kernel database based on the file name, use only
...
/var/db/kvm.db, and only use that if no kernel namelist file
is named. Update the documentation to describe this.
1996-10-12 00:50:11 +00:00
cgd
2923fb704e
use ".Dv NULL" rather than just "NULL", like everyplace else
1996-10-12 00:36:56 +00:00
cgd
8cf4d8ab67
some spaces -> tabs
1996-10-04 03:34:09 +00:00
cgd
1d7d5ec2f8
add support for real KV addresses, and clean up some.
1996-10-01 21:12:05 +00:00
cgd
4540a28ede
Real alpha support, minus actual KV -> physical translation. (Does K0SEG ->
...
physical translation, though, which is enough for e.g. dmesg and vmstat -i.)
1996-10-01 19:04:02 +00:00
cgd
2af2958a7d
add code so that if kvm_nlist() failed because __fdnlist() failed,
...
kvm_geterr() actually provides useful information rather than just an
empty string.
1996-10-01 18:56:11 +00:00
cgd
51e3315ea1
stub _kvm_pa2off so that new libkvm links
1996-10-01 14:37:00 +00:00
leo
fa72190309
Fix the empty error message problem more completely. When the magic-check
...
fails on the cpu_hdr, return 0 instead of -1. This allows the caller to
distinguise between fatal errors and 'nothing there'.
1996-06-23 20:28:05 +00:00
leo
cca068a144
Fix the mysterious empty error message when savecore is executed and no
...
dump is present. This was caused by the fact that kvm_dump_mkheader() was
called *before* savecore checks the dump magic and kvm_dump_mkheader() returned
-1 without setting an error message. The latter is fixed now.
1996-06-23 13:56:54 +00:00
mrg
ef2bde6bce
update to reflect reality.
1996-05-20 16:58:03 +00:00
leo
287a3d660a
Fix small typo in last commit.
1996-05-07 06:09:11 +00:00
gwr
82118b75d6
Allow more flexibility in the format of cpu_kcore_hdr_t and isolate
...
the knowledge of that struct in the machine-dependent module.
1996-05-05 04:31:59 +00:00
cgd
82501b607b
sync with libkvm.old sources (change committed by pk):
...
>Catch up with system PMAP.
1996-04-01 19:23:03 +00:00
mrg
301aee8168
libkvm has totally changed, bump major version.
1996-03-20 23:11:56 +00:00
thorpej
346e67f879
RCS id police.
1996-03-18 22:33:07 +00:00
leo
be74d305c7
Nuke the kd_live argument to kvm_dump_mkheader(). it's not needed anymore...
1996-03-18 21:14:44 +00:00
leo
c458aad2bf
Add a manual page for the kvm_dump_* functions.
1996-03-18 21:11:10 +00:00
leo
9c2128ecdd
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.
1996-03-16 10:23:29 +00:00
mycroft
bd267b1b3c
Clean up a bit.
1996-03-08 10:45:16 +00:00
mark
d1c55d0bd8
Initial commit of the libkvm code for the arm32 port.
1996-02-02 15:35:41 +00:00
phil
57cd9a2c29
Update for recent changes in the kernel.
1996-02-01 07:24:37 +00:00
cgd
46d2a53848
reminder to not forget k0seg translations. (nothing done here yet, though.)
1995-09-29 03:57:48 +00:00
pk
16e30a94d1
Deal with crash dumps again.
1995-07-05 18:41:25 +00:00
cgd
00fd6050b6
slight type cleanup. add some prototypes for internal functions,
...
some 'const' poisoning, some lvalue lossage.
1995-07-04 03:03:30 +00:00
briggs
bc09c2e1b0
Take out cpu040 case for mac68k.
1995-07-01 19:26:03 +00:00
cgd
d8eaa29f0f
fix a piece of sloppy coding on my part. gdb -k still doesn't work, though.
1995-06-29 11:41:45 +00:00
cgd
64b09480bb
update to match reality.
1995-06-26 13:19:27 +00:00
mycroft
ee7138ecea
Fix up the last argv pointer correctly when terminating early.
1995-05-25 03:03:42 +00:00
mycroft
ac582e04f5
Fix one more reallocing bug.
1995-05-18 13:59:25 +00:00
mycroft
70258d9a3a
Fix up another pointer if we realloc the argument list.
1995-05-18 12:21:54 +00:00
mycroft
470f22b967
Update copyright.
1995-05-16 14:26:15 +00:00
mycroft
6506fa2b16
Use the new ps_strings format. Find the arguments using their
...
addresses in the argv array, rather than guessing based on the location
of NULs.
1995-05-16 14:21:08 +00:00
ragge
5993e44288
kvm_vax.c added.
1995-04-25 15:41:11 +00:00
ragge
460abf6176
kvm machine specific code for VAX.
1995-04-17 12:44:34 +00:00
pk
3c8e6db690
Disable "dead kernel" stuff until we have something new.
1995-04-13 19:32:40 +00:00
chopps
b331e63615
should work without specialization now.
1995-04-02 20:45:26 +00:00
jtc
a5c856b8c8
KERNEL -> _KERNEL
1995-03-28 17:29:16 +00:00
jtc
ae0b9c2010
KERNEL -> _KERNEL
1995-03-28 17:18:59 +00:00
cgd
5eecfd8983
stubs.
1995-02-10 17:51:56 +00:00
pk
762232f3d7
The sparc port no longer needs special casing.
1995-01-12 16:30:52 +00:00
mycroft
c304971439
Eliminate _kvm_uvatop(), in favor of using the machine-independent VM structures.
1995-01-09 08:59:25 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
deraadt
12e0db7fb1
make this work (with a horrible hack for determining the cputyp)
1994-11-02 04:51:38 +00:00
cgd
8c814fd78b
fix type of variables, add headers, protos, where necessary.
1994-10-19 03:03:39 +00:00
mycroft
09aa8eb440
Clean up deleted files.
1994-09-18 03:32:52 +00:00
mycroft
96e437894b
Merge the m68k files. The code itself should be merged.
1994-09-18 03:32:50 +00:00
deraadt
fdf894abcd
should work for sun4 and sun4c
1994-09-18 02:32:50 +00:00
mycroft
b707f8aa13
Move the swap page buffer into struct __kvm. Cache the page size during
...
kvm_open(). Fix an existing memory leak.
1994-09-18 01:52:01 +00:00
deraadt
dbccee1a87
Don't use NBPG/PGOFSET/PGSHIFT. Use getpagesize() and calculate them.
1994-09-18 00:22:22 +00:00
mycroft
0e2293a33e
Update to match include files.
1994-08-30 17:39:11 +00:00
mycroft
b2ea31e355
Update to match current pmap.
1994-08-15 15:57:36 +00:00
mycroft
6e04a46b3a
Don't return garbage if there are no argument and/or environment strings.
1994-08-13 10:15:02 +00:00
jtc
1d1682d63c
vmunix -> netbsd (PR #375 )
1994-08-06 06:11:03 +00:00