Mark Johnston b957b18594 Always use 64-bit physical addresses for dump_avail[] in minidumps
As of r365978, minidumps include a copy of dump_avail[].  This is an
array of vm_paddr_t ranges.  libkvm walks the array assuming that
sizeof(vm_paddr_t) is equal to the platform "word size", but that's not
correct on some platforms.  For instance, i386 uses a 64-bit vm_paddr_t.

Fix the problem by always dumping 64-bit addresses.  On platforms where
vm_paddr_t is 32 bits wide, namely arm and mips (sometimes), translate
dump_avail[] to an array of uint64_t ranges.  With this change, libkvm
no longer needs to maintain a notion of the target word size, so get rid
of it.

This is a no-op on platforms where sizeof(vm_paddr_t) == 8.

Reviewed by:	alc, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D27082
2020-12-03 17:12:31 +00:00
..
2020-02-26 16:22:28 +00:00
2020-09-25 10:05:38 +00:00
2020-10-05 15:54:19 +00:00
2020-11-19 02:50:48 +00:00
2020-11-24 06:42:32 +00:00
2020-11-19 04:28:39 +00:00
2020-10-19 16:57:59 +00:00
2020-11-05 15:08:56 +00:00
2020-11-09 00:34:23 +00:00
2020-05-09 15:56:02 +00:00
2020-08-13 20:48:14 +00:00
2020-12-01 16:06:31 +00:00
2020-01-12 23:52:16 +00:00
2020-11-25 22:53:21 +00:00
2020-10-22 09:28:11 +00:00
2020-08-27 05:11:15 +00:00
2020-11-18 16:21:37 +00:00