Commit Graph

431 Commits

Author SHA1 Message Date
ad eba222df68 ... and make kvm_dump_inval() work on the raw device. 2008-01-15 14:16:30 +00:00
ad a7a2d171df Handle reading from raw disk devices. 2008-01-15 13:57:41 +00:00
simonb d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
jld 1717a7fe75 Add address translation support for 4MB pages, which we use to map the
kernel text.
2008-01-05 06:54:12 +00:00
jld 324e44d74f The address translation routine needs to use the plN_pi macros (for
indexing into the PTP), not the plN_i ones (for indexing into the entire
linear page table); cf. the analogous code for amd64.  Fixes ~everything
to do with kernel core dumps on i386.
2008-01-05 06:22:55 +00:00
chris cf792ccc84 Update libkvm to be able to deal with arm kernel core dumps.
These changes allow savecore to successfully save a kernel core dump.

Final part of fixing PR cats/18026
2008-01-01 14:10:37 +00:00
yamt 392c2dc8c2 sync with kernel. 2007-12-22 01:22:03 +00:00
joerg b9d83a2411 Fix a typo in the last change that broke a comparision. 2007-11-08 21:58:26 +00:00
joerg 6475789b74 Add kvm_dump_header and implement kvm_dump_wrtheader on top of it.
This function allows the caller finer control of how the writes happen
and doesn't force stdio as interface. Optimise clear_gap a bit to not
fill the gap byte-wise. Bump minor version of libkvm.
2007-11-08 20:48:04 +00:00
joerg 4267598f61 ANSIfy. 2007-11-08 17:32:30 +00:00
ad 8fd9a85c2a Catch up with scheduling changes in the kernel. 2007-11-06 01:46:08 +00:00
martin 36097b1de9 Use the new sparc64 kcore cpu segment extensions to properly map VA/PAs
on kernels with more then 4 MB text/rodata segment.
2007-11-05 00:46:23 +00:00
yamt 21ac91dd00 sync with kernel after the merge of yamt-x86pmap branch. 2007-10-18 15:30:43 +00:00
ad dea8adf74d 'true' is a C99 keyword. 2007-07-09 22:28:13 +00:00
christos 4fbeddc144 treat ESRCH as a soft error. From Anon Ymous 2007-07-07 18:27:26 +00:00
christos 1a4c3f68b4 - Fix kvm_getlwps not to spit errors if we lose the race:
- if the process does not exist anymore, return NULL
	- if the process has created more lwps retry
	XXX[1]: We should fix sysctl_kern_lwp() to return the number of lwps it
		needs in oldlenp when ENOMEM. The we can avoid calling sysctl
		twice (by starting let's say with always 1 lwp, or 10).
	XXX[2]: We should fix kvm_getlwps to never spit errors.
- Silence new lint warnings
2007-07-06 14:25:42 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
christos 4be3505e2e fix for yamt-idlelwp 2007-05-17 21:42:32 +00:00
dsl 7effc1a79d Set kp2p->p_ru = 0 in the kproc2 structure.
It was only ever non-zero for zombies, and now doesn't exist.
The 'pstats' field has been valid for zombies for a while (it isn't in
the uarea any more).
Fixes part of build breakage.
2007-05-01 06:58:08 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
christos 2a84b2c2c1 Revert the kauth_impl.h change. Elad is going to maintain this. Asked by core@ 2007-02-24 20:41:33 +00:00
dsl c8acc5992d Update only user code that uses the types of the e_[pu]cred members
of struct kinfo_proc.
2007-02-18 15:22:44 +00:00
ad 4ee7030889 Add ${NETBSDSRCDIR}/sys to the include path. 2007-02-10 00:23:13 +00:00
ad 401499f30e Sync with kernel changes introduced by merging the newlock2 branch. 2007-02-09 22:08:48 +00:00
elad eb3ad821f0 PR/35506: Chuck Silvers: ps doesn't work on crash dumps, libkvm doesn't
know about kauth

Implemented _kvm_convertcred() to handle copying kauth_cred_t to userspace
and converting it to the appropriate 'struct eproc' members ('pcred' and
'ucred' respectively).

Okay mlelstv@.
2007-02-06 21:21:51 +00:00
chs f4850e655c fill in p_stat for crashdumps like the kernel does for the sysctl. 2007-01-28 21:31:13 +00:00
yamt daa6d99693 kvm_getproc2: retry on ENOMEM.
it happens when the number of processes are changed in the mean time.
2006-12-31 16:20:18 +00:00
ross 7731d9ebb9 disable via radical lobotomy
this can't be properly converted now until kernel includes are available
2006-07-05 18:33:18 +00:00
ross 21d9d3841b ppc64 outline, needs more work 2006-07-01 19:21:11 +00:00
yamt 060eacec48 #include a necessary header directly, rather than via user.h. 2006-05-11 12:00:20 +00:00
christos 17c2501482 Coverity CID 881: Always print an error if allocation failed.
If the program is not specified use getprogname()
2006-03-21 23:47:51 +00:00
christos 0213791d0c 1. Eliminate some unnecessary to kvm_{m,re}alloc.
2. Don't malloc/free procbase/procbase2/lwpbase continuously. Keep track
   of the size, and only do it if necessary.
3. Write a macro to malloc/realloc and set the size of members so that it
   is done correctly. Previous open coded version in kvm_file.c always
   set the length, which is incorrect.
4. Remove bogus check against INT_MAX.
5. use NULL to initialize pointers instead of 0.
2006-02-16 20:48:42 +00:00
fvdl b7bb8fccf1 Fix parsing the page tables. 2005-08-04 19:26:02 +00:00
yamt 6cae8c8d70 as swap is now optional, ENXIO on /dev/drum is normal. 2005-07-30 16:32:29 +00:00
jmc 2c8974a914 Fix fallout from vm_anon changes 2005-05-11 17:41:52 +00:00
briggs a6246199bb Supply _kvm_kvatop() and _kvm_pa2off() for OEA-type CPUs. This does
not yet support other PPC CPU types.
Contributed by Wasabi Systems Inc.
2005-02-17 02:31:27 +00:00
thorpej cf21167821 pdtpaddr -> pdppaddr 2004-08-27 01:13:31 +00:00
toshii ac142bbda7 Fix typos. 2004-05-12 17:20:01 +00:00
atatat 42d379d041 Use new PTRTOUINT64() macro instead of local PTRTOINT64() macro. 2004-02-19 03:57:56 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
jmmv 70eabe78c3 List sys/param.h as a prerequisite of sys/sysctl.h. Bump date. 2004-02-10 12:48:48 +00:00
christos 895d7dee51 zero out nl, from Todd Miller. thanks! 2003-11-17 20:41:54 +00:00
cube b9d0c518f9 When using /dev/ksyms, don't keep it open more than strictly necessary.
This allows LKM manipulation while an application using libkvm, such as
vmstat or gkrellm, is running.

Patch reviewed by Anders Magnusson.
2003-11-04 14:59:10 +00:00
wiz 37ac1db454 available, not avaliable. From miod@openbsd. 2003-09-29 09:50:21 +00:00
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
wiz e414629c30 Pa Aq -> Aq Pa so that both work. 2003-06-27 14:50:31 +00:00
wiz b976c55907 Consistently spell "crash dump" as two separate words. From jmc@openbsd. 2003-05-16 10:24:55 +00:00
wiz 98a71c5969 Bump date for last; remove end-of-line spaces. 2003-05-13 10:03:43 +00:00
ragge 2bb5ce73f8 Update after recent changes. 2003-05-11 15:40:03 +00:00
ragge f08d6eb0c9 Make the kvm routines use /dev/ksyms to get the kernel namelist.
If it fails, use /netbsd instead.
2003-05-11 13:37:34 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
nathanw cc1db07645 Just use PAGE_SHIFT from <machine/vmparam.h> instead of going through
hoops to read and cache the value from the crash dump header.
2003-04-09 22:46:39 +00:00
martin dc8fa84c54 #include <machine/vmparam.h> for PAGE_SIZE 2003-04-03 22:07:16 +00:00
christos eb430229c6 do the exit on lint warnings only on i386 like libc, to avoid the wrath of
the sloppy archs.
2003-03-28 14:02:45 +00:00
christos d5cff0612e exit on lint warnings. 2003-03-28 14:01:46 +00:00
christos 9d952b3742 remove scanning of deadproc, since zombproc should contain all the processes
in deadproc according to the comment in kern_proc.c. deadproc is not a
struct proclist anymore, so it would require more work to scan anyway, and
this is unnecessary.
2003-03-28 14:01:32 +00:00
ross f80c89ab02 fix LP64 and other warnings 2003-03-20 22:53:12 +00:00
dsl 9be8ac5294 Alternative pid/proc allocater, removes all searches associated with pid
lookup and allocation, and any dependency on NPROC or MAXUSERS.
NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit
on PID_MAX.
As discussed on tech-kern.
2003-03-19 11:36:32 +00:00
lukem b1c71074fa Add workaround for building with ${MACHINE}==sparc64, ${MACHINE_ARCH}==sparc;
symlink the appropriate machine & sparc include directories into the objdir.

XXX: this is necessary until (when?) the sparc Arch Dependent headers
(used by MACHINE_ARCH==sparc) are separated from the sparc Machine
Dependent headeres (used by MACHINE==sparc but not MACHINE==sparc64).
2003-03-01 06:10:39 +00:00
atatat 40f3045957 Add p_svuid and p_svgid to kinfo_proc2. Populate them in the kernel
and in libkvm.  Then teach ps how to show them to you.

Also, teach ps how to show the names for all the uids, the rest of the
group numbers, and the "group access list".
2003-03-01 05:41:55 +00:00
enami b7577d634c Use _kvm_freeprocs() rather than free() so that kvm_close() won't
free already free'ed region.
2003-02-26 23:05:53 +00:00
enami 30fca248b5 Cosmetic changes. 2003-02-26 23:04:37 +00:00
christos 45103cd2c0 delint (unsigned long long) -> (unsigned long) casts. 2003-02-02 02:29:59 +00:00
christos acc1cc5b41 undo mallocvar.h change! 2003-02-02 02:25:50 +00:00
tron edb9087c05 Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
build failure because MALLOC_DECLARE() is not defined.
2003-02-01 21:12:25 +00:00
tron 6b521c7489 Fix build problem by rearranging the order of "#include" statements so
that "sys/mallocvar.h" gets include while "_KERNEL" is defined.
2003-02-01 17:22:44 +00:00
thorpej c62a74e6d5 Merge the nathanw_sa branch. 2003-01-18 10:32:11 +00:00
itojun d8cb639e16 use strlcpy to ensure string termination 2002-11-16 23:34:30 +00:00
wiz 99bcb5e9de session, not sessiod. By Adrian Mrva. 2002-10-02 10:59:45 +00:00
wiz bec910b3b0 New sentence, new line. From Robert Elz. 2002-10-01 19:18:12 +00:00
christos c524f280a6 Use FD_CLOEXEC instead of `1' and don't cast. 2002-09-17 21:37:13 +00:00
atatat 28f3a22acb Default using the value of machdep.booted_kernel from sysctl() if it
is available and points to a file.  The value of "/netbsd" is still
the ultimate fallback.
2002-09-17 20:34:08 +00:00
drochner ead5c05ddb another SETFL->SETFD 2002-09-17 19:50:48 +00:00
drochner 8b4aa8a489 actually do the close-on-exec 2002-09-17 19:38:26 +00:00
christos dd45b62148 Set the close-on-exec bit on all file descriptors we open. Inspired by a
FreeBSD security advisory.

Reviewed by thorpej
2002-09-16 17:20:45 +00:00
wiz 0b87087d0c "initialse" looks nice, but is not correct. 2002-09-04 01:12:03 +00:00
wiz e066ad32dc Use Nm instead of Xrefing ourselves. 2002-08-20 16:48:47 +00:00
lukem ec5dbc56b8 Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)
2002-08-19 14:55:14 +00:00
yamt 356b12bae1 change DIAGNOSTICS to RETURN VALUES
since it describes return values.
from openbsd.
2002-08-18 07:40:04 +00:00
yamt 447d4188a2 add FILES section to refer to /dev/mem.
from openbsd.
2002-08-18 07:34:51 +00:00
soren bdb11c55b6 Don't omit third argument to open(2).
PR lib/15752 from Stephen Ma.
2002-08-08 01:30:09 +00:00
scw 10344af629 Minor correction: s/i386/SH3/ 2002-07-10 09:17:02 +00:00
scw 2dceef3c5c SH-5 kvm glue, based on sh3 version. 2002-07-10 09:16:29 +00:00
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