Commit Graph

149 Commits

Author SHA1 Message Date
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